-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.51 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.51 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
{
"name": "coffee-shop-backend",
"version": "1.0.0",
"description": "Backend for Coffee Shop with Google Auth",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js",
"seed": "node seeders/products.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"pm2:start": "pm2 start ecosystem.config.js",
"pm2:stop": "pm2 stop coffee-shop-api",
"pm2:restart": "pm2 restart coffee-shop-api",
"pm2:logs": "pm2 logs coffee-shop-api",
"pm2:status": "pm2 status",
"deploy": "npm ci --only=production && pm2 restart ecosystem.config.js"
},
"dependencies": {
"@emailjs/browser": "^4.4.1",
"bcrypt": "^6.0.0",
"connect-mongo": "^5.1.0",
"cors": "^2.8.5",
"dotenv": "^16.6.1",
"express": "^4.21.2",
"express-session": "^1.18.2",
"google-auth-library": "^9.15.1",
"helmet": "^7.2.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.17.0",
"passport": "^0.7.0",
"passport-google-oauth20": "^2.0.0",
"passport-jwt": "^4.0.1"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"jest": "^29.7.0",
"nodemon": "^3.1.10",
"supertest": "^6.3.4"
},
"jest": {
"testEnvironment": "node",
"setupFilesAfterEnv": [
"<rootDir>/__tests__/setup.js"
],
"testMatch": [
"**/__tests__/**/*.test.js"
],
"collectCoverageFrom": [
"routes/**/*.js",
"models/**/*.js",
"middleware/**/*.js",
"!**/node_modules/**"
]
}
}