Skip to content

Commit

Permalink
fix: deploy to heroku button
Browse files Browse the repository at this point in the history
  • Loading branch information
cettoana committed Dec 20, 2018
1 parent 7d103e8 commit de8b852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@
"description": "Enable GraphQL Playground.",
"value": "true"
}
},
"scripts": {
"postdeploy": "yarn install --pure-lockfile && yarn build"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"test": "exit 0",
"start": "node dist/index.js",
"build": "rm -rf ./dist && tsc"
"build": "rm -rf ./dist && tsc",
"heroku-postbuild": "npm run build"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit de8b852

Please sign in to comment.