66 lines
2.7 KiB
JSON
66 lines
2.7 KiB
JSON
{
|
|
"name": "express-queue",
|
|
"version": "0.0.13",
|
|
"description": "Express middleware to limit a number of simultaneously processing requests using queue",
|
|
"main": "./index.js",
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"scripts": {
|
|
"_npm-audit": "npm audit || echo '\n*** Please check warnings above ***\n' && npm audit --production --audit-level high && echo '\n*** npm audit reported no high-level vulnerabilities for production configuration ***\n' ",
|
|
"_deps-check": "npm-check-updates --errorLevel 2",
|
|
"_deps-update": "echo '* Updating packages versions... '; npm-check-updates -u --upgradeAll --errorLevel 1 && npm install",
|
|
"_check-changes": "echo '* Checking if git directory is clean... '; bash -c '[[ -z $(git status -uno --porcelain) ]]'",
|
|
"update-deps": "npm run _check-changes && npm run _deps-update && npm test && git commit -am 'updated deps'",
|
|
"lint": "eslint -f unix .",
|
|
"inspect": "jsinspect",
|
|
"pretest": "npm run lint && npm run inspect && npm run _npm-audit && npm run _deps-check",
|
|
"__test": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/*",
|
|
"test": "npm run _test",
|
|
"_test": "echo \"Warning: no test specified\" && exit 0",
|
|
"___test": "echo \"Error: no test specified\" && exit 1",
|
|
"test-travis": "npm run _test",
|
|
"_commit": "git commit -am \"commit by 'npm run commit'\"",
|
|
"_push": "git push --follow-tags",
|
|
"commit-and-push": "npm run _commit && npm test && npm run _push",
|
|
"_patch-release": "npm version patch && npm publish",
|
|
"_minor-release": "npm version minor && npm publish",
|
|
"_major-release": "npm version major && npm publish",
|
|
"patch-release": "npm test && npm run _patch-release && npm run _push",
|
|
"minor-release": "npm test && npm run _minor-release && npm run _push",
|
|
"__major-release": "npm test && npm run _major-release && npm run _push",
|
|
"coverall": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
|
|
},
|
|
"keywords": [
|
|
"express,middleware,mw,queue,limit,delay,simultaneous"
|
|
],
|
|
"author": "Alexander <alykoshin@gmail.com>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/alykoshin/express-queue.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/alykoshin/express-queue/issues"
|
|
},
|
|
"homepage": "https://github.com/alykoshin/express-queue",
|
|
"dependencies": {
|
|
"debug": "^4.3.4",
|
|
"express-end": "0.0.8",
|
|
"mini-queue": "0.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^4.3.6",
|
|
"chai-things": "^0.2.0",
|
|
"coveralls": "^3.1.1",
|
|
"eslint": "^8.12.0",
|
|
"express": "^4.17.3",
|
|
"istanbul": "^0.4.5",
|
|
"jshint": "^2.13.4",
|
|
"jsinspect": "^0.12.7",
|
|
"mocha": "^9.2.2",
|
|
"mockery": "^2.1.0",
|
|
"sinon": "^13.0.1"
|
|
}
|
|
}
|