filesafe/package.json
Bobby Wibowo 79631ce624
feat: RateLimiter custom middleware class
this adds new production dependency rate-limiter-flexible

this deprecates old rateLimits option in config

to use the new rate limiters, the new option is named rateLimiters and
rateLimitersWhitelist
please consult config.sample.js

rate limiters will also be now processed before any other middlewares,
as only makes sense
2022-07-12 08:48:09 +07:00

89 lines
2.6 KiB
JSON

{
"name": "lolisafe",
"version": "3.0.0",
"description": "Blazing fast file uploader and awesome bunker written in node! 🚀",
"repository": {
"type": "git",
"url": "https://github.com/BobbyWibowo/lolisafe"
},
"bugs": {
"url": "https://github.com/BobbyWibowo/lolisafe/issues"
},
"engines": {
"node": ">=12.22.0"
},
"license": "MIT",
"scripts": {
"start": "node ./lolisafe.js",
"pm2": "pm2 start ./lolisafe.js",
"lint": "gulp lint",
"build": "gulp default",
"watch": "gulp watch",
"develop": "env NODE_ENV=development gulp watch",
"dev": "env NODE_ENV=development gulp watch",
"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 && yarn --production",
"stash": "git stash || true",
"stash-pop": "git stash pop || true",
"full-upgrade": "rm -f ./yarn.lock && yarn"
},
"dependencies": {
"bcrypt": "~5.0.1",
"better-sqlite3": "~7.5.3",
"blake3": "~2.1.7",
"clamscan": "~2.1.2",
"content-disposition": "~0.5.4",
"fastq": "~1.13.0",
"fluent-ffmpeg": "~2.1.2",
"helmet": "~5.1.0",
"hyper-express": "^6.2.4",
"jszip": "~3.10.0",
"knex": "~2.1.0",
"live-directory": "^2.3.2",
"markdown-it": "~13.0.1",
"multer": "~1.4.5-lts.1",
"node-fetch": "~2.6.7",
"nunjucks": "~3.2.3",
"randomstring": "~1.2.2",
"rate-limiter-flexible": "^2.3.7",
"search-query-parser": "~1.6.0",
"sharp": "~0.30.7",
"systeminformation": "5.11.23"
},
"devDependencies": {
"@ronilaukkarinen/gulp-stylelint": "~14.0.6",
"browserslist": "~4.21.1",
"bulma": "~0.9.4",
"chokidar": "~3.5.3",
"cssnano": "~5.1.12",
"del": "~6.1.1",
"eslint": "~8.19.0",
"eslint-config-standard": "~17.0.0",
"eslint-plugin-compat": "~4.0.2",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-n": "~15.2.4",
"eslint-plugin-promise": "~6.0.0",
"gulp": "~4.0.2",
"gulp-buble": "~0.9.0",
"gulp-cli": "~2.3.0",
"gulp-dart-sass": "~1.0.2",
"gulp-eslint-new": "~1.5.1",
"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.14",
"postcss-preset-env": "~7.7.2",
"stylelint": "~14.9.1",
"stylelint-config-standard-scss": "~4.0.0"
}
}