UNPKG

2.62 kBJSONView Raw
1{
2 "name": "reserve",
3 "version": "1.10.1",
4 "description": "Lightweight http server statically configurable using regular expressions",
5 "main": "./index.js",
6 "files": [
7 "handlers/*.js",
8 "detect/*.js",
9 "mock/*.js",
10 "*.js"
11 ],
12 "bin": {
13 "reserve": "./index.js"
14 },
15 "engines": {
16 "node": ">=10.0.0"
17 },
18 "scripts": {
19 "test": "standard && node tests/all.js && nyc mocha",
20 "lint": "standard --fix",
21 "mocha": "mocha",
22 "mocha-dbg": "node --inspect-brk node_modules/mocha/bin/_mocha",
23 "cover": "nyc mocha && nyc report --reporter=lcov",
24 "perf-serve": "node . --config ./tests/http.json --silent",
25 "perf-test": "autocannon localhost:5000",
26 "perf": "start-server-and-test perf-test http-get://localhost:5000 perf-serve",
27 "reserve": "node ./samples/reserve"
28 },
29 "repository": {
30 "type": "git",
31 "url": "git+https://github.com/ArnaudBuchholz/reserve.git"
32 },
33 "keywords": [
34 "http",
35 "serve",
36 "static",
37 "json",
38 "regexp"
39 ],
40 "author": "Arnaud Buchholz",
41 "license": "MIT",
42 "bugs": {
43 "url": "https://github.com/ArnaudBuchholz/reserve/issues"
44 },
45 "homepage": "https://github.com/ArnaudBuchholz/reserve#readme",
46 "devDependencies": {
47 "autocannon": "^7.0.3",
48 "colors": "^1.4.0",
49 "coveralls": "^3.1.0",
50 "eslint-utils": "^2.1.0",
51 "express": "^4.17.1",
52 "express-session": "^1.17.1",
53 "gpf-js": "^1.0.0",
54 "lodash": "^4.17.20",
55 "mime": "^2.5.0",
56 "minimist": ">=1.2.3",
57 "mocha": "^8.2.1",
58 "mock-require": "^3.0.3",
59 "nyc": "^15.1.0",
60 "passport": "^0.4.1",
61 "socket.io": "^3.1.0",
62 "standard": "^16.0.3",
63 "start-server-and-test": "^1.11.7"
64 },
65 "dependencies": {},
66 "standard": {
67 "globals": [
68 "process",
69 "describe",
70 "it",
71 "before",
72 "beforeEach",
73 "after",
74 "sap"
75 ]
76 },
77 "mocha": {
78 "diff": false,
79 "spec": [
80 "tests/mocha/*.test.js",
81 "tests/mocha/**/*.test.js"
82 ],
83 "require": [
84 "tests/mocha/mocked_modules/console.js",
85 "tests/mocha/mocked_modules/path.js",
86 "tests/mocha/mocked_modules/fs.js",
87 "tests/mocha/mocked_modules/http.js",
88 "tests/mocha/mocked_modules/https.js",
89 "tests/mocha/mocked_modules/process.js"
90 ]
91 },
92 "nyc": {
93 "all": true,
94 "cache": false,
95 "check-coverage": true,
96 "exclude": [
97 "tests/*.js",
98 "tests/mocha/assert.js",
99 "tests/cache/**",
100 "console.js",
101 "coverage/**",
102 "samples/**"
103 ],
104 "branches": 100,
105 "lines": 100,
106 "functions": 100,
107 "statements": 100
108 }
109}