UNPKG

reserve

Version:

Lightweight http server statically configurable using regular expressions

110 lines (109 loc) 2.61 kB
{ "name": "reserve", "version": "1.9.1", "description": "Lightweight http server statically configurable using regular expressions", "main": "./index.js", "files": [ "handlers/*.js", "detect/*.js", "mock/*.js", "*.js" ], "bin": { "reserve": "./index.js" }, "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": "^4.4.1", "colors": "^1.4.0", "coveralls": "^3.0.9", "eslint-utils": "^2.0.0", "express": "^4.17.1", "express-session": "^1.17.0", "gpf-js": "^1.0.0", "lodash": "^4.17.19", "mime": "^2.4.4", "minimist": ">=1.2.3", "mocha": "^7.1.2", "mock-require": "^3.0.3", "nyc": "^15.0.0", "passport": "^0.4.1", "socket.io": "^2.3.0", "standard": "^14.3.1", "start-server-and-test": "^1.10.6" }, "dependencies": {}, "standard": { "globals": [ "process", "describe", "it", "before", "beforeEach", "after", "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/process.js" ] }, "nyc": { "all": true, "cache": false, "check-coverage": true, "exclude": [ "tests/*.js", "tests/mocha/assert.js", "tests/cache/**", "console.js", "coverage/**", "samples/**" ], "branches": 100, "lines": 100, "functions": 100, "statements": 100 } }