This commit is contained in:
Erik 2021-06-06 19:09:01 +03:00
parent ba952afa46
commit 6299a2ec50
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16
2 changed files with 14 additions and 1 deletions

View File

@ -4,7 +4,8 @@
"description": "New iteration of GalacticBot",
"main": "index.js",
"scripts": {
"start": "node --trace-warnings index.js",
"start": "NODE_ENV=production node --trace-warnings index.js",
"dev": "NODE_ENV=development node --trace-warnings index.js",
"debug": "node --trace-warnings --inspect index.js",
"update": "git pull && cd api && yarn update"
},

12
start.json Normal file
View File

@ -0,0 +1,12 @@
{
"apps": [
{
"name": "new-gbot",
"script": "index.js",
"interpreter_args": "--trace-warnings",
"env": {
"NODE_ENV": "production"
}
}
]
}