-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·90 lines (90 loc) · 3.25 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·90 lines (90 loc) · 3.25 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "backend",
"version": "1.0.0",
"main": "index.ts",
"type": "module",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "nodemon --exec \"tsx\" index.ts",
"seed": "tsx prisma/seed.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:admin": "jest --testPathPattern=Admin",
"test:admin:watch": "jest --testPathPattern=Admin --watch",
"test:integration": "jest --config jest.integration.config.cjs",
"test:integration:watch": "jest --config jest.integration.config.cjs --watch",
"test:api": "jest --testPathPatterns=integration/api",
"test:perf": "jest --testPathPatterns=integration/performance",
"load:artillery": "artillery run load-tests/artillery/api-load-test.yml",
"load:artillery:stress": "artillery run load-tests/artillery/stress-test.yml",
"load:artillery:spike": "artillery run load-tests/artillery/spike-test.yml",
"load:artillery:report": "artillery run --output report.json load-tests/artillery/api-load-test.yml && artillery report report.json",
"load:artillery:user-reg": "artillery run load-tests/artillery/user-registration-test.yml",
"load:k6": "k6 run load-tests/k6/load-test.js",
"load:k6:stress": "k6 run load-tests/k6/stress-test.js",
"load:k6:spike": "k6 run load-tests/k6/spike-test.js",
"load:k6:soak": "k6 run load-tests/k6/soak-test.js",
"load:k6:user-reg": "k6 run load-tests/k6/user-registration-test.js",
"pm2:start": "npm run build && pm2 start ecosystem.config.cjs",
"pm2:stop": "pm2 stop ecosystem.config.cjs",
"pm2:restart": "pm2 restart ecosystem.config.cjs",
"pm2:logs": "pm2 logs backend",
"pm2:monit": "pm2 monit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CS3203-Project/backend.git"
},
"author": "CS3203-Project",
"license": "ISC",
"description": "Backend service for the CS3203 project",
"dependencies": {
"@aws-sdk/client-s3": "^3.873.0",
"@aws-sdk/client-ses": "^3.872.0",
"@aws-sdk/s3-request-presigner": "^3.873.0",
"@googlemaps/google-maps-services-js": "^3.4.2",
"@prisma/client": "6.17.0",
"@types/node-cron": "^3.0.11",
"amqplib": "^0.10.9",
"bcrypt": "^6.0.0",
"cors": "^2.8.5",
"dotenv": "^17.2.1",
"express": "^5.1.0",
"express-rate-limit": "^8.0.1",
"joi": "^17.13.3",
"jsonwebtoken": "^9.0.2",
"multer": "^2.0.2",
"node-cron": "^4.2.1",
"node-fetch": "^3.3.2",
"pg": "^8.16.3",
"socket.io-client": "^4.8.1",
"stripe": "^19.1.0"
},
"devDependencies": {
"@types/amqplib": "^0.10.7",
"@types/bcrypt": "^6.0.0",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/googlemaps": "^3.43.3",
"@types/jest": "^30.0.0",
"@types/joi": "^17.2.2",
"@types/jsonwebtoken": "^9.0.10",
"@types/multer": "^2.0.0",
"@types/node": "^24.2.0",
"@types/pg": "^8.15.5",
"@types/stripe": "^8.0.416",
"@types/supertest": "^6.0.3",
"artillery": "^2.0.26",
"artillery-plugin-metrics-by-endpoint": "^1.20.0",
"dotenv-cli": "^10.0.0",
"jest": "^30.2.0",
"nodemon": "^3.1.10",
"prisma": "^6.17.0",
"supertest": "^7.1.4",
"ts-jest": "^29.4.5",
"tsx": "^4.20.6",
"typescript": "^5.9.2"
}
}