1 Commits

Author SHA1 Message Date
Mars Hall
12bdcdd296 Use heroku-postbuild instead of bash syntax postinstall 2017-02-08 08:55:26 -08:00

View File

@@ -7,7 +7,7 @@
},
"scripts": {
"start": "node server",
"postinstall": "if [ \"$NODE_ENV\" = production ]; then cd react-ui/ && npm install --only=dev && npm install && npm run build; fi"
"heroku-postbuild": "cd react-ui/ && npm install --only=dev && npm install && npm run build"
},
"cacheDirectories": [
"node_modules",