Rename "serve" command to "server"

This commit is contained in:
MICHAEL JACKSON 2017-04-04 07:39:41 -07:00
parent 25e4a77fb2
commit 90b75c489e
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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": {