This repository has been archived by the owner on Jul 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.65 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
{
"name": "app",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "concurrently \"cd backend && node index.js\" \"cd client && npm start\"",
"server": "node backend/index.js",
"client": "cd client && npm start",
"installBackendDep": "cd backend && npm install",
"installClientDep": "cd client && npm install",
"buildClient": "cd client && npm run build",
"stopPM2": "pm2 stop sara",
"createPM2": "pm2 start ecosystem.config.js --env production -f",
"restartPM2": "pm2 restart ecosystem.config.js --env production",
"migrateDev": "cd backend && db-migrate up -e dev",
"migrateProd": "cd backend && db-migrate up -e prod",
"setupDev": "npm install && npm run installBackendDep && npm run migrateDev && npm run installClientDep",
"upgrade": "git pull && npm run stopPM2 && npm run installBackendDep && npm run migrateProd && npm run installClientDep && npm run buildClient && npm run restartPM2",
"upgrade_server": "git pull && npm run stopPM2 && npm run installBackendDep && npm run migrateProd && npm run restartPM2",
"deploy": "git pull && npm run migrateProd && npm run installBackendDep && npm run installClientDep && npm run buildClient && npm run createPM2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Poke1650/Sara.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Poke1650/Sara/issues"
},
"homepage": "https://github.com/Poke1650/Sara#readme",
"devDependencies": {
"concurrently": "^4.1.0"
},
"dependencies": {}
}