From 90b75c489e81e9cb1bbd857e2faa58a095409618 Mon Sep 17 00:00:00 2001 From: MICHAEL JACKSON Date: Tue, 4 Apr 2017 07:39:41 -0700 Subject: [PATCH] Rename "serve" command to "server" --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68879e5..65d9bec 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index bccb49d..5c5985b 100644 --- a/package.json +++ b/package.json @@ -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": {