4 Commits

Author SHA1 Message Date
Mars Hall
31f86543dd Revise react-ui build to honor lock file for production dependencies 2017-07-05 11:01:48 -07:00
Mars Hall
bbcc48ea58 Fix react-ui build command to work with npm 5. 2017-07-02 14:50:03 -07:00
Mars Hall
a95baa14c3 Upgrade deployment to Node 6.11 2017-07-02 14:04:57 -07:00
Mars Hall
dc2f6b07d1 Add npm 5’s package-lock.json 2017-07-02 13:53:56 -07:00
5 changed files with 2520 additions and 7119 deletions

View File

@@ -43,8 +43,6 @@ This deployment will automatically:
* serves `../react-ui/build/` as static files
* customize by adding API, proxy, or route handlers/redirectors
⚠️ Using npm 5s new `package-lock.json`? We resolved a compatibility issue. See [PR](https://github.com/mars/heroku-cra-node/pull/10) for more details.
👓 More about [deploying to Heroku](https://devcenter.heroku.com/categories/deployment).

View File

@@ -1,21 +0,0 @@
{
"name": "heroku-cra-node",
"description": "web app made of create-react-app UI + Node API",
"scripts": {
},
"env": {
},
"formation": {
"web": {
"quantity": 1
}
},
"addons": [
],
"buildpacks": [
{
"url": "heroku/nodejs"
}
]
}

View File

@@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "How to use create-react-app with a custom Node API on Heroku",
"engines": {
"node": "8.9.x"
"node": "6.11.x"
},
"scripts": {
"start": "node server",

File diff suppressed because it is too large Load Diff

View File

@@ -3,11 +3,11 @@
"version": "0.1.0",
"private": true,
"devDependencies": {
"react-scripts": "^1.1.0"
"react-scripts": "0.9.5"
},
"dependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0"
"react": "^15.4.2",
"react-dom": "^15.4.2"
},
"scripts": {
"start": "react-scripts start",