Skip to content

Commit

Permalink
🐛 👷 Put serve into project deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed May 17, 2017
1 parent 8003cb2 commit 7f8e924
Show file tree
Hide file tree
Showing 3 changed files with 513 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: cd out && serve -p $PORT
web: yarn run heroku-start
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"build": "next build && next export",
"postbuild": "cp -Rv public/* public/.nojekyll out",
"deploy": "gh-pages --src '{.nojekyll,**/*}' -d out -m \"Deploy $(git rev-parse HEAD) to GitHub pages [ci skip]\"",
"heroku-postbuild": "env NEXT_DEV=1 yarn run build && yarn global add serve"
"heroku-postbuild": "env NEXT_DEV=1 yarn run build",
"heroku-start": "cd out && serve -p $PORT"
},
"devDependencies": {
"babel-plugin-inline-react-svg": "^0.4.0",
Expand All @@ -24,6 +25,7 @@
"eslint-plugin-react": "^6.10.3",
"eslint-plugin-standard": "^3.0.1",
"gh-pages": "^1.0.0",
"serve": "^5.1.5",
"webpack": "^2.3.3",
"webpack-dev-server": "^2.4.2"
},
Expand Down
Loading

0 comments on commit 7f8e924

Please sign in to comment.