Add script & file for running production without docker

This commit is contained in:
advplyr 2021-09-19 19:22:35 -05:00
parent a63d76985c
commit c7b01165fd
6 changed files with 23 additions and 6 deletions

View file

@ -6,7 +6,8 @@
"scripts": {
"dev": "node index.js",
"start": "node index.js",
"prod": "NODE_ENV=production node index.js"
"client": "cd client && npm install --production && npm run generate",
"prod": "npm run client && npm install && node prod.js"
},
"author": "advplyr",
"license": "ISC",
@ -29,4 +30,4 @@
"watcher": "^1.2.0"
},
"devDependencies": {}
}
}