Skip to content

Commit

Permalink
Support for npm 5 package-lock.json (#10)
Browse files Browse the repository at this point in the history
* Add npm 5’s `package-lock.json`

* Upgrade deployment to Node 6.11

* Fix react-ui build command to work with npm 5.

* Revise react-ui build to honor lock file for production dependencies
  • Loading branch information
mars authored Jul 5, 2017
1 parent cace55f commit 80bbce5
Show file tree
Hide file tree
Showing 3 changed files with 6,157 additions and 2 deletions.
217 changes: 217 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"version": "1.0.0",
"description": "How to use create-react-app with a custom Node API on Heroku",
"engines": {
"node": "6.9.x"
"node": "6.11.x"
},
"scripts": {
"start": "node server",
"heroku-postbuild": "cd react-ui/ && npm install --only=dev && npm install && npm run build"
"heroku-postbuild": "cd react-ui/ && npm install && npm install --only=dev --no-shrinkwrap && npm run build"
},
"cacheDirectories": [
"node_modules",
Expand Down
Loading

0 comments on commit 80bbce5

Please sign in to comment.