deploying to heroku

This commit is contained in:
2018-06-03 13:14:54 +03:00
parent 3cdf4bf5a4
commit 61653134b0
3 changed files with 10 additions and 8 deletions

View File

@@ -7,7 +7,8 @@
"scripts": {
"start": "node ./app.js",
"debug": "cross-env NODE_ENV=dev npx nodemon --inspect ./app.js",
"test": "cross-env NODE_ENV=test jest"
"test": "cross-env NODE_ENV=test jest",
"heroku-postbuild": "cd react && npm i && npm run build"
},
"author": "",
"dependencies": {