Skip to content

Commit

Permalink
Add a postinstall script for Heroku
Browse files Browse the repository at this point in the history
If your app has a build step that you’d like to run when you deploy,
you can use a postinstall script in package.json - this is the gulp
build step.
  • Loading branch information
gemmaleigh committed May 9, 2017
1 parent 6f480ca commit 8a8867a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"pretest": "npm run lint --silent",
"test": "standard && gulp test",
"lint": "bundle && bundle exec govuk-lint-sass assets/sass/elements/",
"postinstall": "gulp build",
"start": "gulp develop"
},
"standard": {
Expand Down

0 comments on commit 8a8867a

Please sign in to comment.