UNPKG

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