-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.66 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "@xplora-uk/express-oom-middleware",
"version": "1.1.1",
"description": "Express middleware to reject requests and avoid out of memory (OOM) crashes",
"main": "lib/index.js",
"type": "commonjs",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build:ts": "tsc -b ./tsconfig.build.json",
"build": "npm run clean && npm run build:ts",
"clean": "rimraf lib",
"test": "mocha --timeout 5000 -r ts-node/register ./src/__tests__/**/*.test.ts",
"test:component": "mocha --timeout 5000 -r ts-node/register ./src/__tests__/component/**/*.test.ts",
"test:unit": "mocha --timeout 5000 -r ts-node/register ./src/__tests__/unit/**/*.test.ts",
"test:coverage": "nyc npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xplora-uk/express-oom-middleware.git"
},
"keywords": [
"node",
"express",
"oom",
"crash",
"memory",
"issue",
"middleware"
],
"author": "Xplora R&D Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/xplora-uk/express-oom-middleware/issues"
},
"homepage": "https://github.com/xplora-uk/express-oom-middleware#readme",
"engines": {
"node": ">=18.16.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^4.3.4",
"@types/express": "^4.17.21",
"@types/mocha": "^10.0.1",
"@types/node": "^18.19.21",
"@types/supertest": "^6.0.2",
"chai": "^4.3.7",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"supertest": "^6.3.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"dependencies": {
"express": "^4.19.2"
}
}