-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.42 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
81
82
83
84
85
86
87
88
{
"name": "chow-925-api",
"version": "1.0.0",
"description": "Rest API for Chow 9:25",
"private": true,
"author": {
"name": "Emmanuel Nwoye",
"url": "https://github.com/Emmynem"
},
"scripts": {
"start": "npm run prod",
"build": "npm-run-all clean transpile",
"server": "node ./dist-app/bin/www",
"pm2-server": "pm2 start ./dist-app/bin/www.js --name chow-925 --max-memory-restart 200M --restart-delay=3000",
"pm2-server-cluster": "pm2 start ./dist-app/bin/www.js --name chow-925 --max-memory-restart 200M --restart-delay=3000 -i -1",
"pm2-list": "pm2 list",
"pm2-monitor": "pm2 monit",
"pm2-delete": "pm2 delete chow-925",
"pm2-stop": "pm2 stop chow-925",
"pm2-reload": "pm2 reload chow-925",
"pm2-scale": "pm2 scale chow-925",
"pm2-plus": "pm2 plus",
"pm2-online-monitor": "pm2 monitor",
"pm2-online-unlink": "pm2 link delete chow-925",
"pm2-online-link": "pm2 link",
"pm2-all": "npm-run-all pm2-server pm2-monitor",
"pm2-all-cluster": "npm-run-all pm2-server-cluster pm2-monitor",
"dev": "cross-env NODE_ENV=development npm-run-all build server",
"prod": "cross-env NODE_ENV=production npm-run-all build server",
"transpile": "babel ./app --out-dir dist-app",
"clean": "rimraf dist-app",
"watch:dev": "nodemon",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"restapi",
"foods",
"nodejs",
"restaurants",
"vendors",
"deliveries"
],
"license": "MIT",
"dependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"express": "^4.17.3",
"express-validator": "^6.14.2",
"helmet": "^6.0.0",
"jsonwebtoken": "^9.0.0",
"moment": "^2.29.4",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"mysql": "^2.18.1",
"mysql2": "^2.3.3",
"nodemailer": "^6.7.8",
"nodemon": "^2.0.19",
"npm-run-all": "^4.1.5",
"pm2": "^5.2.2",
"rimraf": "^3.0.2",
"sequelize": "^6.17.0",
"uuid": "^9.0.0",
"winston": "^3.8.2"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"nodemonConfig": {
"exec": "npm run dev",
"watch": [
"app/*",
"public/*"
],
"ignore": [
"**/__tests__/**",
"*.test.js",
"*.spec.js"
]
}
}