Support for npm 5 package-lock.json (#10)

* 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
This commit is contained in:
Mars Hall
2017-07-05 11:13:35 -07:00
committed by GitHub
parent cace55f3b7
commit 80bbce5c5d
3 changed files with 6157 additions and 2 deletions

View File

@@ -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",