-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 1.05 KB
/
package.json
File metadata and controls
24 lines (24 loc) · 1.05 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
{
"name": "yourchatstarter",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"heroku-prebuild": "cd yourchatstarter-backend && npm install",
"start": "cd yourchatstarter-backend && node App.js",
"heroku-postbuild": "cd yourchatstarter-frontend && npm install && npm run build",
"do-depend": "cd yourchatstarter-backend && npm install && cd ../yourchatstarter-frontend && npm install && cd ..",
"do-start": "cd yourchatstarter-frontend && npm run build && cd ../yourchatstarter-backend && pm2 start App.js && cd ..",
"do-quickstart": "cd yourchatstarter-backend && pm2 start App.js && cd ..",
"start-python": "cd yourchatstarter-phobert && nohup python3 -u app.py > main.log 2>&1 & echo $! > app.pid && cd ..",
"check-python": "ps -p \"$(cat yourchatstarter-phobert/app.pid)\"",
"kill-python": "kill -9 \"$(cat yourchatstarter-phobert/app.pid)\""
},
"engines": {
"node": "16.x"
},
"keywords": [],
"author": "",
"license": "ISC"
}