reserve
Version:
Lightweight http server statically configurable using regular expressions
111 lines (110 loc) • 2.66 kB
JSON
{
"name": "reserve",
"version": "1.12.0",
"description": "Lightweight http server statically configurable using regular expressions",
"main": "./index.js",
"files": [
"handlers/*.js",
"detect/*.js",
"mock/*.js",
"@types/*.d.ts",
"*.js"
],
"bin": {
"reserve": "./index.js"
},
"types": "./@types/index.d.ts",
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"test": "standard && node tests/all.js && nyc mocha",
"lint": "standard --fix",
"mocha": "mocha",
"mocha-dbg": "node --inspect-brk node_modules/mocha/bin/_mocha",
"cover": "nyc mocha && nyc report --reporter=lcov",
"perf-serve": "node . --config ./tests/http.json --silent",
"perf-test": "autocannon localhost:5000",
"perf": "start-server-and-test perf-test http-get://localhost:5000 perf-serve",
"reserve": "node ./samples/reserve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ArnaudBuchholz/reserve.git"
},
"keywords": [
"http",
"serve",
"static",
"json",
"regexp"
],
"author": "Arnaud Buchholz",
"license": "MIT",
"bugs": {
"url": "https://github.com/ArnaudBuchholz/reserve/issues"
},
"homepage": "https://github.com/ArnaudBuchholz/reserve#readme",
"devDependencies": {
"autocannon": "^7.5.0",
"colors": "^1.4.0",
"coveralls": "^3.1.1",
"eslint-utils": "^3.0.0",
"express": "^4.17.1",
"express-session": "^1.17.2",
"gpf-js": "^1.0.0",
"lodash": "^4.17.21",
"mime": "^2.5.2",
"minimist": ">=1.2.5",
"mocha": "^9.1.3",
"mock-require": "^3.0.3",
"nyc": "^15.1.0",
"passport": "^0.5.0",
"socket.io": "^4.3.1",
"standard": "^16.0.4",
"start-server-and-test": "^1.14.0"
},
"standard": {
"env": [
"mocha",
"node"
],
"globals": [
"sap"
]
},
"mocha": {
"diff": false,
"spec": [
"tests/mocha/*.test.js",
"tests/mocha/**/*.test.js"
],
"require": [
"tests/mocha/mocked_modules/console.js",
"tests/mocha/mocked_modules/path.js",
"tests/mocha/mocked_modules/fs.js",
"tests/mocha/mocked_modules/http.js",
"tests/mocha/mocked_modules/https.js",
"tests/mocha/mocked_modules/http2.js",
"tests/mocha/mocked_modules/process.js"
]
},
"nyc": {
"all": true,
"cache": false,
"check-coverage": true,
"exclude": [
"tests/*.js",
"tests/mocha/assert.js",
"tests/cache/**",
"console.js",
"coverage/**",
"samples/**",
"doc/**"
],
"branches": 100,
"lines": 100,
"functions": 100,
"statements": 100
}
}