Skip to content

Commit

Permalink
chore(heroku): fix the node-sass/heroku deployment issue
Browse files Browse the repository at this point in the history
  • Loading branch information
artemv committed Dec 19, 2017
1 parent 82da4c7 commit 5dfbf88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"start:prod": "npm run build:prod && npm run stop:prod && NODE_ENV=\"production\" pm2 start app.js --name rollout-dashboard",
"build:prod": "NODE_ENV=\"production\" node_modules/.bin/webpack --config webpack/webpack.config.production.js",
"stop:prod": "NODE_ENV=\"production\" pm2 kill --name rollout-dashboard",
"start": "npm run build:prod && npm run stop:prod && NODE_ENV=\"production\" pm2 start app.js --name rollout-dashboard -i max --attach"
"start": "npm run build:prod && npm run stop:prod && NODE_ENV=\"production\" pm2 start app.js --name rollout-dashboard -i max --attach",
"postinstall": "if [ \"$NODE_ENV\" = \"production\" ]; then npm rebuild node-sass; fi"
},
"license": "ISC",
"dependencies": {
Expand Down

0 comments on commit 5dfbf88

Please sign in to comment.