add script for heroku deploy

This commit is contained in:
Bilal Catic
2019-05-24 04:06:23 +02:00
parent 3203c63a64
commit ac6a738749

View File

@@ -14,7 +14,8 @@
"migrate": "npx sequelize db:migrate",
"start-server": "nodemon server.js",
"start-client": "cd client && yarn start",
"start": "node server.js"
"start": "node server.js",
"heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client"
},
"repository": {
"type": "git",