-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
55 lines (55 loc) · 1.53 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
{
"name": "nodejs-security-best-practices",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"start-dev": "cross-env NODE_ENV=development ts-node-dev --respawn src/index.ts",
"start-prod": "cross-env NODE_ENV=production ts-node-dev --respawn src/index.ts",
"build": "tsc",
"lint": "eslint src/**/*.ts",
"format": "eslint src/**/*.ts --fix",
"pretty": "prettier --write \"src/**/*.ts\""
},
"devDependencies": {
"@tsconfig/node16": "^1.0.2",
"@types/body-parser": "^1.19.2",
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-rate-limit": "^6.0.0",
"@types/node": "^17.0.21",
"@types/toobusy-js": "^0.5.2",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"eslint": "^8.10.0",
"eslint-plugin-security": "^1.4.0",
"prettier": "^2.5.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.5"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint",
"pre-push": "yarn test"
}
},
"dependencies": {
"@types/morgan": "^1.9.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"express-rate-limit": "^6.3.0",
"helmet": "^5.0.2",
"hsts": "^2.2.0",
"morgan": "^1.10.0",
"rate-limiter": "^0.2.0",
"toobusy-js": "^0.5.1",
"winston": "^3.7.2",
"winston-daily-rotate-file": "^4.6.1",
"xss": "^1.0.11",
"xss-clean": "^0.1.1"
}
}