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": {
|
fix: bumped minimum node version to >= 16.0.0
there was an oversight in that, the version of hyper-express we have
been using in the past few months, depended on a version of
uwebsockets.js that already dropped support for node 14
https://github.com/uNetworking/uWebSockets.js/releases/tag/v20.14.0
additionally, a recent hyper-express update, which will be committed
soon after this commit, will depend on a version of uwebsockets.js that
officially only supports the last 3 LTS versions (16, 18, and 20)
https://github.com/kartikk221/hyper-express/releases/tag/6.5.9
then there's also the fact that node 14 will reach EOL by next week, or
30 April 2023
https://github.com/nodejs/release#release-schedule
with all those considered, i will also be officially dropping support
for node 14, albeit a week early than node's team
2023-04-23 01:19:15 +00:00
|
|
|
"node": ">=16.0.0"
|
2017-01-13 07:34:21 +00:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
2018-01-24 15:31:23 +00:00
|
|
|
"scripts": {
|
2023-05-23 10:50:18 +00:00
|
|
|
"start": "cross-env NODE_ENV=production node ./lolisafe.js",
|
|
|
|
"start:reload": "cross-env NODE_ENV=production gulp watch",
|
|
|
|
"pm2": "cross-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",
|
2023-05-23 10:50:18 +00:00
|
|
|
"dev": "cross-env NODE_ENV=development gulp build-dev && cross-env NODE_ENV=development node ./lolisafe.js",
|
|
|
|
"dev:reload": "cross-env NODE_ENV=development gulp watch",
|
2022-06-22 06:53:01 +00:00
|
|
|
"migrate": "node ./scripts/migrate.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",
|
2023-05-23 10:50:18 +00:00
|
|
|
"pull": "git pull && cross-env NODE_ENV=production yarn",
|
2020-05-25 20:53:32 +00:00
|
|
|
"stash": "git stash || true",
|
|
|
|
"stash-pop": "git stash pop || true",
|
2022-10-05 19:41:07 +00:00
|
|
|
"rebuild-dependencies": "rm -f ./yarn.lock && yarn"
|
2018-01-24 15:31:23 +00:00
|
|
|
},
|
2017-01-13 07:34:21 +00:00
|
|
|
"dependencies": {
|
2022-09-13 18:33:31 +00:00
|
|
|
"abort-controller": "~3.0.0",
|
2023-09-06 09:42:26 +00:00
|
|
|
"bcrypt": "~5.1.1",
|
2023-04-23 01:49:39 +00:00
|
|
|
"better-sqlite3": "~8.3.0",
|
2022-01-03 14:53:45 +00:00
|
|
|
"blake3": "~2.1.7",
|
2022-07-31 07:31:25 +00:00
|
|
|
"chokidar": "~3.5.3",
|
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",
|
2023-05-23 10:52:15 +00:00
|
|
|
"cross-env": "~7.0.3",
|
2022-07-21 16:58:47 +00:00
|
|
|
"etag": "~1.8.1",
|
2023-02-25 11:21:58 +00:00
|
|
|
"fastq": "~1.15.0",
|
2020-06-19 17:17:16 +00:00
|
|
|
"fluent-ffmpeg": "~2.1.2",
|
2022-07-21 16:58:47 +00:00
|
|
|
"fresh": "~0.5.2",
|
2022-10-29 07:20:47 +00:00
|
|
|
"fs-jetpack": "~5.1.0",
|
2023-04-23 01:49:56 +00:00
|
|
|
"helmet": "~6.1.5",
|
2023-05-23 10:50:18 +00:00
|
|
|
"hyper-express": "=6.6.0",
|
2022-08-03 10:34:38 +00:00
|
|
|
"jszip": "~3.10.1",
|
2023-09-06 09:41:29 +00:00
|
|
|
"knex": "~2.5.1",
|
2022-07-12 01:57:18 +00:00
|
|
|
"live-directory": "~2.3.2",
|
2022-05-05 05:55:21 +00:00
|
|
|
"markdown-it": "~13.0.1",
|
2023-09-06 09:42:00 +00:00
|
|
|
"node-fetch": "~2.7.0",
|
2023-04-21 12:57:37 +00:00
|
|
|
"nunjucks": "~3.2.4",
|
2023-04-08 21:21:25 +00:00
|
|
|
"parse-duration": "~1.0.3",
|
2023-09-06 09:40:23 +00:00
|
|
|
"randomstring": "~1.3.0",
|
2022-07-21 16:58:47 +00:00
|
|
|
"range-parser": "~1.2.1",
|
2022-10-29 07:15:57 +00:00
|
|
|
"rate-limiter-flexible": "~2.4.1",
|
2021-09-07 17:49:22 +00:00
|
|
|
"search-query-parser": "~1.6.0",
|
2023-05-23 10:19:09 +00:00
|
|
|
"sharp": "~0.32.1",
|
2023-09-06 09:42:49 +00:00
|
|
|
"systeminformation": "~5.21.4"
|
2017-10-03 20:34:57 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-04-23 01:53:15 +00:00
|
|
|
"@ronilaukkarinen/gulp-stylelint": "~14.1.1",
|
2023-09-06 09:43:11 +00:00
|
|
|
"browserslist": "~4.21.10",
|
2022-05-21 09:38:21 +00:00
|
|
|
"bulma": "~0.9.4",
|
2023-05-23 10:19:33 +00:00
|
|
|
"cssnano": "~6.0.1",
|
2023-05-23 10:20:14 +00:00
|
|
|
"eslint": "~8.41.0",
|
2022-04-22 19:53:47 +00:00
|
|
|
"eslint-config-standard": "~17.0.0",
|
2023-04-23 01:23:59 +00:00
|
|
|
"eslint-plugin-compat": "~4.1.4",
|
2023-02-25 11:24:07 +00:00
|
|
|
"eslint-plugin-import": "~2.27.5",
|
2023-04-23 01:48:57 +00:00
|
|
|
"eslint-plugin-n": "~15.7.0",
|
2022-10-29 07:15:45 +00:00
|
|
|
"eslint-plugin-promise": "~6.1.1",
|
2020-06-19 17:17:16 +00:00
|
|
|
"gulp": "~4.0.2",
|
|
|
|
"gulp-buble": "~0.9.0",
|
|
|
|
"gulp-cli": "~2.3.0",
|
2023-04-23 01:49:08 +00:00
|
|
|
"gulp-dart-sass": "~1.1.0",
|
2023-02-25 11:19:44 +00:00
|
|
|
"gulp-eslint-new": "~1.7.2",
|
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",
|
2023-02-25 11:20:06 +00:00
|
|
|
"gulp-replace": "~1.1.4",
|
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",
|
2023-04-23 01:23:47 +00:00
|
|
|
"postcss": "~8.4.23",
|
2023-04-23 01:49:22 +00:00
|
|
|
"postcss-preset-env": "~8.3.2",
|
2023-09-06 09:42:12 +00:00
|
|
|
"stylelint": "~15.10.3",
|
2023-04-23 01:54:42 +00:00
|
|
|
"stylelint-config-standard-scss": "~8.0.0"
|
2022-08-19 23:38:37 +00:00
|
|
|
},
|
|
|
|
"volta": {
|
2023-04-21 13:00:27 +00:00
|
|
|
"node": "18.16.0",
|
2022-08-19 23:38:37 +00:00
|
|
|
"yarn": "1.22.19"
|
2018-04-30 17:32:50 +00:00
|
|
|
}
|
2017-01-13 07:34:21 +00:00
|
|
|
}
|