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",
|
2019-09-12 07:44:31 +00:00
|
|
|
"url": "https://github.com/BobbyWibowo/lolisafe"
|
2017-01-13 07:34:21 +00:00
|
|
|
},
|
|
|
|
"bugs": {
|
2019-09-12 07:44:31 +00:00
|
|
|
"url": "https://github.com/BobbyWibowo/lolisafe/issues"
|
2017-01-13 07:34:21 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-04-15 06:39:41 +00:00
|
|
|
"node": ">=12.22.0"
|
2017-01-13 07:34:21 +00:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
2018-01-24 15:31:23 +00:00
|
|
|
"scripts": {
|
|
|
|
"start": "node ./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
|
|
|
"pm2": "pm2 start ./lolisafe.js",
|
|
|
|
"lint": "gulp lint",
|
|
|
|
"build": "gulp default",
|
|
|
|
"watch": "gulp watch",
|
2021-02-15 01:35:19 +00:00
|
|
|
"develop": "env NODE_ENV=development gulp watch",
|
2022-03-03 11:01:19 +00:00
|
|
|
"dev": "env NODE_ENV=development gulp watch",
|
2020-05-16 15:32:32 +00:00
|
|
|
"migrate": "node ./database/migration.js",
|
2019-09-19 12:10:37 +00:00
|
|
|
"bump-versions": "node ./scripts/bump-versions.js",
|
2019-09-08 01:56:29 +00:00
|
|
|
"cf-purge": "node ./scripts/cf-purge.js",
|
2019-09-12 07:44:31 +00:00
|
|
|
"clean-up": "node ./scripts/clean-up.js",
|
2019-09-08 01:56:29 +00:00
|
|
|
"delete-expired": "node ./scripts/delete-expired.js",
|
2020-12-27 12:00:00 +00:00
|
|
|
"rebuild-hashes": "node ./scripts/rebuild-hashes.js",
|
2018-09-07 15:26:29 +00:00
|
|
|
"thumbs": "node ./scripts/thumbs.js",
|
2020-05-16 14:51:08 +00:00
|
|
|
"pull": "git pull && yarn --production",
|
2020-05-25 20:53:32 +00:00
|
|
|
"stash": "git stash || true",
|
|
|
|
"stash-pop": "git stash pop || true",
|
2020-05-16 14:51:08 +00:00
|
|
|
"full-upgrade": "rm -f ./yarn.lock && yarn"
|
2018-01-24 15:31:23 +00:00
|
|
|
},
|
2017-01-13 07:34:21 +00:00
|
|
|
"dependencies": {
|
2022-05-08 06:03:24 +00:00
|
|
|
"@bobbywibowo/serve-static": "git+https://git@github.com/BobbyWibowo/serve-static#8030f1b3cb17cf75b69d7ead8db3e879f6fc992f",
|
2021-02-28 17:02:09 +00:00
|
|
|
"bcrypt": "~5.0.1",
|
2022-01-03 14:53:45 +00:00
|
|
|
"blake3": "~2.1.7",
|
2022-04-15 07:16:24 +00:00
|
|
|
"body-parser": "~1.20.0",
|
2022-04-15 07:06:39 +00:00
|
|
|
"clamscan": "~2.1.2",
|
2022-03-08 23:36:52 +00:00
|
|
|
"content-disposition": "~0.5.4",
|
2022-05-06 19:13:05 +00:00
|
|
|
"express": "~4.18.1",
|
2022-05-06 19:10:58 +00:00
|
|
|
"express-rate-limit": "~6.4.0",
|
2020-06-19 17:17:16 +00:00
|
|
|
"fluent-ffmpeg": "~2.1.2",
|
2022-04-15 07:17:51 +00:00
|
|
|
"helmet": "~5.0.2",
|
2022-04-15 07:00:50 +00:00
|
|
|
"jszip": "~3.9.1",
|
2021-10-22 14:46:36 +00:00
|
|
|
"knex": "~0.21.21",
|
2022-05-05 05:55:21 +00:00
|
|
|
"markdown-it": "~13.0.1",
|
2022-04-15 05:57:42 +00:00
|
|
|
"multer": "~1.4.4",
|
2022-03-03 12:39:47 +00:00
|
|
|
"node-fetch": "~2.6.7",
|
2021-02-19 10:32:48 +00:00
|
|
|
"nunjucks": "~3.2.3",
|
2022-04-15 05:57:28 +00:00
|
|
|
"randomstring": "~1.2.2",
|
2021-09-07 17:49:22 +00:00
|
|
|
"search-query-parser": "~1.6.0",
|
2022-04-22 19:58:10 +00:00
|
|
|
"sharp": "~0.30.4",
|
2022-05-06 17:59:32 +00:00
|
|
|
"sqlite3": "~5.0.8",
|
2022-05-21 09:38:41 +00:00
|
|
|
"systeminformation": "~5.11.15"
|
2017-10-03 20:34:57 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-03-03 11:44:43 +00:00
|
|
|
"@ronilaukkarinen/gulp-stylelint": "~14.0.6",
|
2022-04-29 23:46:51 +00:00
|
|
|
"browserslist": "~4.20.3",
|
2022-05-21 09:38:21 +00:00
|
|
|
"bulma": "~0.9.4",
|
2022-03-06 18:41:10 +00:00
|
|
|
"chokidar": "~3.5.3",
|
2022-05-21 09:39:05 +00:00
|
|
|
"cssnano": "~5.1.9",
|
2022-05-21 09:41:20 +00:00
|
|
|
"del": "~6.1.0",
|
2022-05-21 09:38:55 +00:00
|
|
|
"eslint": "~8.16.0",
|
2022-04-22 19:53:47 +00:00
|
|
|
"eslint-config-standard": "~17.0.0",
|
2022-03-03 11:44:43 +00:00
|
|
|
"eslint-plugin-compat": "~4.0.2",
|
2022-04-15 06:40:22 +00:00
|
|
|
"eslint-plugin-import": "~2.26.0",
|
2022-05-06 19:06:38 +00:00
|
|
|
"eslint-plugin-n": "~15.2.0",
|
2022-04-15 06:40:22 +00:00
|
|
|
"eslint-plugin-promise": "~6.0.0",
|
2020-06-19 17:17:16 +00:00
|
|
|
"gulp": "~4.0.2",
|
|
|
|
"gulp-buble": "~0.9.0",
|
|
|
|
"gulp-cli": "~2.3.0",
|
2020-11-17 22:19:11 +00:00
|
|
|
"gulp-dart-sass": "~1.0.2",
|
2022-05-21 09:41:11 +00:00
|
|
|
"gulp-eslint-new": "~1.4.4",
|
2020-06-19 17:17:16 +00:00
|
|
|
"gulp-if": "~3.0.0",
|
|
|
|
"gulp-nodemon": "~2.5.0",
|
2022-03-03 10:41:58 +00:00
|
|
|
"gulp-postcss": "~9.0.1",
|
2021-09-07 17:54:04 +00:00
|
|
|
"gulp-replace": "~1.1.3",
|
2020-11-12 09:07:19 +00:00
|
|
|
"gulp-sourcemaps": "~3.0.0",
|
2022-03-03 10:52:21 +00:00
|
|
|
"gulp-terser": "~2.1.0",
|
2022-05-21 09:39:35 +00:00
|
|
|
"postcss": "~8.4.14",
|
2022-05-06 19:07:36 +00:00
|
|
|
"postcss-preset-env": "~7.5.0",
|
2022-05-06 19:11:09 +00:00
|
|
|
"stylelint": "~14.8.2",
|
2022-03-03 11:44:43 +00:00
|
|
|
"stylelint-config-standard-scss": "~3.0.0"
|
2018-04-30 17:32:50 +00:00
|
|
|
}
|
2017-01-13 07:34:21 +00:00
|
|
|
}
|