You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,31 +8,24 @@
8
8
9
9
10
10
11
-
### Prerequesites
12
-
13
-
```
14
-
# install yarn
15
-
$ npm install --global yarn
16
-
```
17
-
18
11
### Installation
19
12
20
13
```
21
-
$ yarn
14
+
$ npm install
22
15
```
23
16
24
17
### Local Development
25
18
26
19
```
27
-
$ yarn start
20
+
$ npm run start
28
21
```
29
22
30
23
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.
31
24
32
25
### Build
33
26
34
27
```
35
-
$ yarn build
28
+
$ npm run build
36
29
```
37
30
38
31
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
42
35
Using SSH:
43
36
44
37
```
45
-
$ USE_SSH=true yarn deploy
38
+
$ USE_SSH=true npm run deploy
46
39
```
47
40
48
41
Not using SSH:
49
42
50
43
```
51
-
$ GIT_USER=<Your GitHub username> yarn deploy
44
+
$ GIT_USER=<Your GitHub username> npm run deploy
52
45
```
53
46
54
47
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