Rename "serve" command to "server"
This commit is contained in:
parent
25e4a77fb2
commit
90b75c489e
|
@ -8,4 +8,4 @@ The project is maintained by [React Training](https://reacttraining.com) with sp
|
|||
|
||||
The website was built using [create-react-app](https://github.com/facebookincubator/create-react-app). This is the app you see when you run `yarn start`. However, none of the package links will work.
|
||||
|
||||
To start the backend, use `yarn run serve`. This will start the backend so the website (which is really just a static HTML file) can serve as a proxy for package requests.
|
||||
To start the backend, use `yarn run server`. This will start the backend so the website (which is really just a static HTML file) can serve as a proxy for package requests.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"start": "node scripts/start.js",
|
||||
"build": "node scripts/build.js",
|
||||
"heroku-postbuild": "node scripts/build.js",
|
||||
"serve": "heroku local -f Procfile.local -p 3001",
|
||||
"server": "heroku local -f Procfile.local -p 3001",
|
||||
"test": "node scripts/test.js --env=jsdom"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue