-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.13 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
{
"name": "nodejs-ts-template",
"version": "1.0.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "",
"license": "ISC",
"scripts": {
"lint": "eslint --ext .ts .",
"start-dev": "cross-env NODE_ENV=development ts-node-dev src/index.ts",
"start": "cross-env NODE_ENV=production node dist/index.js",
"test": "jest --runInBand --forceExit --coverage",
"test-compose": "cross-env NODE_ENV=test docker-compose -f docker-compose.test.yml up -d && npm test && cat ./coverage/lcov.info | coveralls",
"build": "tsc"
},
"dependencies": {
"bcrypt": "^5.0.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"fs-extra": "^11.1.0",
"helmet": "^3.23.3",
"jsonwebtoken": "^8.5.1",
"pino": "^8.8.0",
"pino-multi-stream": "^6.0.0"
},
"devDependencies": {
"@types/bcrypt": "^3.0.0",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.7",
"@types/fs-extra": "^9.0.13",
"@types/helmet": "0.0.47",
"@types/jest": "^26.0.7",
"@types/jsonwebtoken": "^8.5.0",
"@types/morgan": "^1.9.1",
"@types/node": "^18.11.18",
"@types/pino-multi-stream": "^5.1.3",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"coveralls": "^3.1.0",
"dotenv": "^8.2.0",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"morgan": "^1.10.0",
"prettier": "^2.0.5",
"supertest": "^4.0.2",
"ts-jest": "^26.1.3",
"ts-node-dev": "^1.0.0-pre.52",
"typescript": "^3.9.7"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": "eslint --cache --fix"
},
"jest": {
"testEnvironment": "node",
"preset": "ts-jest",
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": 50
}
}
}
}