Skip to content

Commit 7f35c79

Browse files
lifezTimer
authored andcommitted
Correctly Command in README.md (#1275)
* change npm to yarn command * Keep npm primary option
1 parent 6a0edc4 commit 7f35c79

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ npm install -g create-react-app
1313
create-react-app my-app
1414
cd my-app/
1515
npm start
16-
1716
```
1817

1918
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.<br>
@@ -70,7 +69,7 @@ my-app/
7069
No configuration or complicated folder structures, just the files you need to build your app.<br>
7170
Once the installation is done, you can run some commands inside the project folder:
7271

73-
### `npm start`
72+
### `npm start` or `yarn start`
7473

7574
Runs the app in development mode.<br>
7675
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
@@ -80,14 +79,14 @@ You will see the build errors and lint warnings in the console.
8079

8180
<img src='https://camo.githubusercontent.com/41678b3254cf583d3186c365528553c7ada53c6e/687474703a2f2f692e696d6775722e636f6d2f466e4c566677362e706e67' width='600' alt='Build errors'>
8281

83-
### `npm test`
82+
### `npm test` or `yarn test`
8483

8584
Runs the test watcher in an interactive mode.<br>
8685
By default, runs tests related to files changes since the last commit.
8786

8887
[Read more about testing.](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests)
8988

90-
### `npm run build`
89+
### `npm run build` or `yarn build`
9190

9291
Builds the app for production to the `build` folder.<br>
9392
It correctly bundles React in production mode and optimizes the build for the best performance.

0 commit comments

Comments
 (0)