filesafe/package.json

97 lines
2.9 KiB
JSON
Raw Normal View History

2017-01-13 07:34:21 +00:00
{
2017-10-04 02:45:01 +00:00
"name": "lolisafe",
"version": "3.0.0",
"description": "Blazing fast file uploader and awesome bunker written in node! 🚀",
2017-01-13 07:34:21 +00:00
"repository": {
"type": "git",
"url": "https://github.com/BobbyWibowo/lolisafe"
2017-01-13 07:34:21 +00:00
},
"bugs": {
"url": "https://github.com/BobbyWibowo/lolisafe/issues"
2017-01-13 07:34:21 +00:00
},
"engines": {
"node": ">=14.0.0"
2017-01-13 07:34:21 +00:00
},
"license": "MIT",
"scripts": {
"start": "env NODE_ENV=production node ./lolisafe.js",
"start:reload": "env NODE_ENV=production gulp watch",
"pm2": "env NODE_ENV=production pm2 start ./lolisafe.js",
Updates (very important to read) Client-side CSS & JS files will now be processed with Gulp. Gulp tasks are configured in gulpfile.js file. CSS files will be optimized with postcss-preset-env, which will auto-add vendor prefixes and convert any parts necessary for browsers compatibility. Afterwards they will be minified with cssnano. JS files will be optimized with bublé, likewise for browsers compatibility. Afterwards they will be minified with terser. Unprocessed CSS & JS files will now be located at src directory, while the processed results will be located at dist directory. Due to bublé, the JS files should now be compatible up to IE 11 at the minimum. Previously the safe would not work in IE 11 due to extensive usage of template literals. Due to that as well, JS files in src directory will now extensively use arrow functions for my personal comfort (as they will be converted too). The server will use the processed files at dist directory by default. If you want to rebuild the files by your own, you can run "yarn build". Gulp is a development dependency, so make sure you have installed all development dependencies (e.i. NOT using "yarn install --production"). --- yarn lint -> gulp lint yarn build -> gulp default yarn watch -> gulp watch yarn develop -> env NODE_ENV=development yarn watch --- Fixed not being able to demote staff into normal users. /api/token/verify will no longer respond with 401 HTTP error code, unless an error occurred (which will be 500 HTTP error code). Fixed /nojs route not displaying file's original name when a duplicate is found on the server. Removed is-breeze CSS class name, in favor of Bulma's is-info. Removed custom styling from auth page, in favor of global styling. Removed all usage of style HTML attribute in favor of CSS classes. Renamed js/s/ to js/misc/. Use loading spinners on dashboard's sidebar menus. Disable all other sidebar menus when something is loading. Changed title HTML attribute of disabled control buttons in uploads & users list. Hid checkboxes and WIP controls from users list. Better error messages handling. Especially homepage will now support CF's HTTP error codes. Updated various icons. Also, added fontello config file at public/libs/fontello/config.json. This should let you edit them more easily with fontello. Use Gatsby icon for my blog's link in homepage's footer. A bunch of other improvements here & there.
2019-09-15 06:20:11 +00:00
"lint": "gulp lint",
"build": "gulp default",
"dev": "env NODE_ENV=development gulp build-dev && env NODE_ENV=development node ./lolisafe.js",
"dev:reload": "env NODE_ENV=development gulp watch",
2022-06-22 06:53:01 +00:00
"migrate": "node ./scripts/migrate.js",
"bump-versions": "node ./scripts/bump-versions.js",
"cf-purge": "node ./scripts/cf-purge.js",
"clean-up": "node ./scripts/clean-up.js",
"delete-expired": "node ./scripts/delete-expired.js",
"rebuild-hashes": "node ./scripts/rebuild-hashes.js",
"thumbs": "node ./scripts/thumbs.js",
"pull": "git pull && env NODE_ENV=production yarn",
2020-05-25 20:53:32 +00:00
"stash": "git stash || true",
"stash-pop": "git stash pop || true",
"rebuild-dependencies": "rm -f ./yarn.lock && yarn"
},
2017-01-13 07:34:21 +00:00
"dependencies": {
"abort-controller": "~3.0.0",
"bcrypt": "~5.1.0",
"better-sqlite3": "~7.6.2",
"blake3": "~2.1.7",
"chokidar": "~3.5.3",
"clamscan": "~2.1.2",
"content-disposition": "~0.5.4",
"etag": "~1.8.1",
"fastq": "~1.13.0",
"fluent-ffmpeg": "~2.1.2",
"fresh": "~0.5.2",
"fs-jetpack": "~5.1.0",
"helmet": "~6.0.1",
"hyper-express": "~6.5.2",
"jszip": "~3.10.1",
"knex": "~2.3.0",
"live-directory": "~2.3.2",
"markdown-it": "~13.0.1",
"node-fetch": "~2.6.7",
"nunjucks": "~3.2.3",
"parse-duration": "~1.0.2",
"randomstring": "~1.2.3",
"range-parser": "~1.2.1",
"rate-limiter-flexible": "~2.4.1",
"search-query-parser": "~1.6.0",
"sharp": "~0.30.7",
"systeminformation": "~5.17.10"
},
"devDependencies": {
"@ronilaukkarinen/gulp-stylelint": "~14.0.9",
"browserslist": "~4.21.4",
"bulma": "~0.9.4",
"cssnano": "~5.1.14",
"eslint": "~8.28.0",
"eslint-config-standard": "~17.0.0",
"eslint-plugin-compat": "~4.0.2",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-n": "~15.5.1",
"eslint-plugin-promise": "~6.1.1",
"gulp": "~4.0.2",
"gulp-buble": "~0.9.0",
"gulp-cli": "~2.3.0",
"gulp-dart-sass": "~1.0.2",
"gulp-eslint-new": "~1.7.2",
"gulp-if": "~3.0.0",
"gulp-nodemon": "~2.5.0",
"gulp-postcss": "~9.0.1",
"gulp-replace": "~1.1.3",
"gulp-sourcemaps": "~3.0.0",
"gulp-terser": "~2.1.0",
"postcss": "~8.4.19",
"postcss-preset-env": "~7.8.3",
"stylelint": "~14.15.0",
"stylelint-config-standard-scss": "~6.1.0"
},
"volta": {
2022-12-01 07:43:14 +00:00
"node": "18.12.1",
"yarn": "1.22.19"
}
2017-01-13 07:34:21 +00:00
}