Compare commits
6 Commits
package-lo
...
update-to-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f33fd473aa | ||
|
|
342b99fb18 | ||
|
|
2b17c2aa4a | ||
|
|
71e2496d10 | ||
|
|
80bbce5c5d | ||
|
|
cace55f3b7 |
@@ -43,6 +43,8 @@ This deployment will automatically:
|
||||
* serves `../react-ui/build/` as static files
|
||||
* customize by adding API, proxy, or route handlers/redirectors
|
||||
|
||||
⚠️ Using npm 5’s 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).
|
||||
|
||||
|
||||
|
||||
21
app.json
Normal file
21
app.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"description": "How to use create-react-app with a custom Node API on Heroku",
|
||||
"engines": {
|
||||
"node": "6.11.x"
|
||||
"node": "8.9.x"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node server",
|
||||
|
||||
9516
react-ui/package-lock.json
generated
9516
react-ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -3,11 +3,11 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"react-scripts": "0.9.5"
|
||||
"react-scripts": "^1.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^15.4.2",
|
||||
"react-dom": "^15.4.2"
|
||||
"react": "^16.2.0",
|
||||
"react-dom": "^16.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
|
||||
Reference in New Issue
Block a user