-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.86 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 1.86 KB
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
{
"scripts": {
"start": "NODE_ENV=production node -r newrelic dist/server.js",
"dev": "docker-compose up -d mongodb && set NODE_ENV=development&& nodemon src/server.ts",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint .",
"test": "docker-compose up -d mongodb && NODE_ENV=development jest --maxWorkers=1 --coverage",
"ci-test": "jest --no-cache --maxWorkers=1 --coverage --ci"
},
"name": "ingsw2_tp_individual",
"version": "1.0.0",
"main": "index.js",
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"axios": "^1.7.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.6.0",
"msw": "^2.4.11",
"newrelic": "^12.8.0",
"uuid": "^10.0.0",
"winston": "^3.14.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.7",
"@types/mongoose": "^5.11.97",
"@types/node": "^22.5.1",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"eslint": "^9.9.1",
"husky": "^8.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"supertest": "^7.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"lint-staged": {
"*.ts": "prettier --write"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverage": false,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
}
}