/
package.json
109 lines (109 loc) · 2.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "@cplabs/shield-server",
"version": "4.0.0",
"description": "",
"bin": "./dist/bin/shield-server.js",
"main": "./dist/index.js",
"types": "./@types/index.d.ts",
"files": [
"dist",
"@types"
],
"engines": {
"node": ">= 20.0.0"
},
"scripts": {
"prepublishOnly": "npm run build",
"prebuild": "npm run clean && npm run lint",
"dev": "ts-node ./src/bin/shield-server.ts",
"build": "tsc --build tsconfig.production.json",
"pretest": "npm run lint",
"test": "nyc mocha",
"lint": "eslint src --ext .ts",
"clean": "rimraf ./dist ./@types ./coverage",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/customer-portal-labs/shield-server.git"
},
"author": "Kun Yan <kyan@redhat.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/customer-portal-labs/shield-server/issues"
},
"homepage": "https://github.com/customer-portal-labs/shield-server#readme",
"devDependencies": {
"@types/chai": "4.3.16",
"@types/compression": "1.7.5",
"@types/connect-history-api-fallback": "1.5.4",
"@types/cookie-parser": "1.4.7",
"@types/cors": "2.8.17",
"@types/express": "4.17.21",
"@types/figlet": "1.5.8",
"@types/lodash": "4.17.4",
"@types/mocha": "10.0.6",
"@types/mock-fs": "4.13.4",
"@types/morgan": "1.9.9",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"chai": "4.4.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"husky": "9.0.11",
"lint-staged": "15.2.4",
"mocha": "10.4.0",
"mock-fs": "5.2.0",
"nyc": "15.1.0",
"prettier": "3.2.5",
"rimraf": "5.0.7",
"supertest": "6.3.4",
"ts-node": "10.9.2",
"typescript": "5.4.5"
},
"dependencies": {
"arg": "^5.0.2",
"chalk": "^5.3.0",
"compression": "^1.7.4",
"connect-history-api-fallback": "^2.0.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cosmiconfig": "^9.0.0",
"express": "^4.18.2",
"express-rate-limit": "^7.1.5",
"figlet": "^1.7.0",
"helmet": "^7.1.0",
"http-proxy-middleware": "^2.0.6",
"internal-ip": "^8.0.0",
"lodash": "^4.17.21",
"log2splunk": "^0.0.5",
"morgan": "^1.10.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,json,md}": [
"prettier --write"
]
},
"mocha": {
"extension": [
"ts"
],
"spec": "test/**/*.spec.ts",
"require": "ts-node/register"
},
"nyc": {
"include": [
"src"
],
"exclude": [
"**/*.d.ts"
],
"reporter": "lcov"
}
}