Skip to content

Commit 7d216c4

Browse files
committed
use npm instead of yarn
1 parent 3080dc7 commit 7d216c4

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

README.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,24 @@
88

99

1010

11-
### Prerequesites
12-
13-
```
14-
# install yarn
15-
$ npm install --global yarn
16-
```
17-
1811
### Installation
1912

2013
```
21-
$ yarn
14+
$ npm install
2215
```
2316

2417
### Local Development
2518

2619
```
27-
$ yarn start
20+
$ npm run start
2821
```
2922

3023
This command starts a local development server and opens up a browser window at http://localhost:3000/. Most changes are reflected live without having to restart the server.
3124

3225
### Build
3326

3427
```
35-
$ yarn build
28+
$ npm run build
3629
```
3730

3831
This command generates static content into the `build` directory and can be served using any static contents hosting service.
@@ -42,13 +35,13 @@ This command generates static content into the `build` directory and can be serv
4235
Using SSH:
4336

4437
```
45-
$ USE_SSH=true yarn deploy
38+
$ USE_SSH=true npm run deploy
4639
```
4740

4841
Not using SSH:
4942

5043
```
51-
$ GIT_USER=<Your GitHub username> yarn deploy
44+
$ GIT_USER=<Your GitHub username> npm run deploy
5245
```
5346

5447
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

0 commit comments

Comments
 (0)