UNPKG

2.6 kBJSONView Raw
1{
2 "name": "reserve",
3 "version": "1.11.3",
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.2.0",
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.21",
55 "mime": "^2.5.2",
56 "minimist": ">=1.2.3",
57 "mocha": "^8.3.2",
58 "mock-require": "^3.0.3",
59 "nyc": "^15.1.0",
60 "passport": "^0.4.1",
61 "socket.io": "^4.0.1",
62 "standard": "^16.0.3",
63 "start-server-and-test": "^1.12.1"
64 },
65 "standard": {
66 "env": [
67 "mocha",
68 "node"
69 ],
70 "globals": [
71 "sap"
72 ]
73 },
74 "mocha": {
75 "diff": false,
76 "spec": [
77 "tests/mocha/*.test.js",
78 "tests/mocha/**/*.test.js"
79 ],
80 "require": [
81 "tests/mocha/mocked_modules/console.js",
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/http2.js",
87 "tests/mocha/mocked_modules/process.js"
88 ]
89 },
90 "nyc": {
91 "all": true,
92 "cache": false,
93 "check-coverage": true,
94 "exclude": [
95 "tests/*.js",
96 "tests/mocha/assert.js",
97 "tests/cache/**",
98 "console.js",
99 "coverage/**",
100 "samples/**",
101 "doc/**"
102 ],
103 "branches": 100,
104 "lines": 100,
105 "functions": 100,
106 "statements": 100
107 }
108}