1 | {
|
2 | "name": "reserve",
|
3 | "version": "1.15.2",
|
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 | "@types/*.d.ts",
|
11 | "*.js"
|
12 | ],
|
13 | "bin": {
|
14 | "reserve": "./index.js"
|
15 | },
|
16 | "types": "./@types/index.d.ts",
|
17 | "engines": {
|
18 | "node": ">=12.0.0"
|
19 | },
|
20 | "scripts": {
|
21 | "test": "standard && node tests/all.js && nyc mocha",
|
22 | "lint": "standard --fix",
|
23 | "mocha": "mocha",
|
24 | "mocha-dbg": "node --inspect-brk node_modules/mocha/bin/_mocha",
|
25 | "cover": "nyc mocha && nyc report --reporter=lcov",
|
26 | "perf-serve": "node . --config ./tests/http.json --silent",
|
27 | "perf-test": "autocannon localhost:5000",
|
28 | "perf": "start-server-and-test perf-test http-get://localhost:5000 perf-serve",
|
29 | "reserve": "node ./samples/reserve"
|
30 | },
|
31 | "repository": {
|
32 | "type": "git",
|
33 | "url": "git+https://github.com/ArnaudBuchholz/reserve.git"
|
34 | },
|
35 | "keywords": [
|
36 | "http",
|
37 | "serve",
|
38 | "static",
|
39 | "json",
|
40 | "regexp"
|
41 | ],
|
42 | "author": "Arnaud Buchholz",
|
43 | "license": "MIT",
|
44 | "bugs": {
|
45 | "url": "https://github.com/ArnaudBuchholz/reserve/issues"
|
46 | },
|
47 | "homepage": "https://github.com/ArnaudBuchholz/reserve#readme",
|
48 | "devDependencies": {
|
49 | "@stryker-mutator/core": "^6.1.2",
|
50 | "@stryker-mutator/mocha-runner": "^6.1.2",
|
51 | "autocannon": "^7.9.0",
|
52 | "colors": "^1.4.0",
|
53 | "coveralls": "^3.1.1",
|
54 | "eslint-utils": "^3.0.0",
|
55 | "express": "^4.18.1",
|
56 | "express-session": "^1.17.3",
|
57 | "gpf-js": "^1.0.0",
|
58 | "lodash": "^4.17.21",
|
59 | "mime": "^3.0.0",
|
60 | "minimist": ">=1.2.6",
|
61 | "mocha": "^10.0.0",
|
62 | "mock-require": "^3.0.3",
|
63 | "nyc": "^15.1.0",
|
64 | "passport": "^0.6.0",
|
65 | "socket.io": "^4.5.1",
|
66 | "standard": "^17.0.0",
|
67 | "start-server-and-test": "^1.14.0"
|
68 | },
|
69 | "standard": {
|
70 | "env": [
|
71 | "mocha",
|
72 | "node"
|
73 | ],
|
74 | "globals": [
|
75 | "sap"
|
76 | ]
|
77 | },
|
78 | "mocha": {
|
79 | "diff": false,
|
80 | "spec": [
|
81 | "tests/mocha/*.test.js",
|
82 | "tests/mocha/**/*.test.js"
|
83 | ],
|
84 | "require": [
|
85 | "tests/mocha/mocked_modules/console.js",
|
86 | "tests/mocha/mocked_modules/path.js",
|
87 | "tests/mocha/mocked_modules/fs.js",
|
88 | "tests/mocha/mocked_modules/http.js",
|
89 | "tests/mocha/mocked_modules/https.js",
|
90 | "tests/mocha/mocked_modules/http2.js",
|
91 | "tests/mocha/mocked_modules/process.js"
|
92 | ]
|
93 | },
|
94 | "nyc": {
|
95 | "all": true,
|
96 | "cache": false,
|
97 | "check-coverage": true,
|
98 | "exclude": [
|
99 | "tests/*.js",
|
100 | "tests/mocha/assert.js",
|
101 | "tests/cache/**",
|
102 | "console.js",
|
103 | "coverage/**",
|
104 | "samples/**",
|
105 | "doc/**"
|
106 | ],
|
107 | "branches": 100,
|
108 | "lines": 100,
|
109 | "functions": 100,
|
110 | "statements": 100
|
111 | }
|
112 | }
|