diff options
author | Claudius | 2019-03-31 01:29:34 +0100 |
---|---|---|
committer | Claudius | 2019-03-31 01:29:34 +0100 |
commit | 5c607c4f80e2c00699dcd74404b8652e0dfbbe94 (patch) | |
tree | 9ba0a3de08cde17830b23f2cbe32266d74e3ed25 /package.json | |
parent | 4ffeab6129778ae539934dabbb3825de92199251 (diff) |
cleanup of the heroku configuration
this removes the general `postinstall` call to `bin/heroku` and instead
puts it into a heroku-prebuild hook. At the same time, env vars get
updated to use the `CMD` prefix. The configured buildpacks were not used.
Finally, npm run build is now automatically
done by Heroku.
Signed-off-by: Claudius <opensource@amenthes.de>
Diffstat (limited to '')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 538a320f..c17c0dba 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done", "standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1", "dev": "webpack --config webpack.dev.js --progress --colors --watch", + "heroku-prebuild": "bin/heroku", "build": "webpack --config webpack.prod.js --progress --colors --bail", - "postinstall": "bin/heroku", "start": "sequelize db:migrate && node app.js", "doctoc": "doctoc --title='# Table of Contents' README.md" }, |