UNPKG

2.56 kBJSONView Raw
1{
2 "name": "reserve",
3 "version": "1.6.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/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.0.0",
59 "mock-require": "^3.0.3",
60 "nyc": "^15.0.0",
61 "passport": "^0.4.1",
62 "standard": "^14.3.1",
63 "start-server-and-test": "^1.10.6"
64 },
65 "dependencies": {},
66 "standard": {
67 "globals": [
68 "process",
69 "describe",
70 "it",
71 "before",
72 "after"
73 ]
74 },
75 "mocha": {
76 "spec": [
77 "tests/mocha/*.test.js",
78 "tests/mocha/handlers/*.test.js",
79 "tests/mocha/detect/*.test.js"
80 ],
81 "require": [
82 "tests/mocha/mocked_modules/path.js",
83 "tests/mocha/mocked_modules/fs.js",
84 "tests/mocha/mocked_modules/http.js",
85 "tests/mocha/mocked_modules/https.js",
86 "tests/mocha/mocked_modules/process.js"
87 ]
88 },
89 "nyc": {
90 "all": true,
91 "cache": false,
92 "check-coverage": true,
93 "exclude": [
94 "tests/*.js",
95 "tests/mocha/assert.js",
96 "log.js",
97 "logError.js",
98 "coverage/**",
99 "samples/**"
100 ],
101 "branches": 100,
102 "lines": 100,
103 "functions": 100,
104 "statements": 100
105 }
106}