Skip to content

Commit 5f68302

Browse files
committed
Suggest to use npm (as is using it)
1 parent ef8455d commit 5f68302

File tree

3 files changed

+5
-8517
lines changed

3 files changed

+5
-8517
lines changed

site/README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,21 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
55
### Installation
66

77
```
8-
$ yarn
8+
npm install
99
```
1010

1111
### Local Development
1212

1313
```
14-
$ yarn start
14+
npm start
1515
```
1616

1717
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
1818

1919
### Build
2020

2121
```
22-
$ yarn build
22+
npm run build
2323
```
2424

2525
This command generates static content into the `build` directory and can be served using any static contents hosting service.
26-
27-
### Deployment
28-
29-
Using SSH:
30-
31-
```
32-
$ USE_SSH=true yarn deploy
33-
```
34-
35-
Not using SSH:
36-
37-
```
38-
$ GIT_USER=<Your GitHub username> yarn deploy
39-
```
40-
41-
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.

site/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"write-heading-ids": "docusaurus write-heading-ids",
1515
"typecheck": "tsc"
1616
},
17+
"packageManager": "npm",
1718
"dependencies": {
1819
"@docusaurus/core": "3.4.0",
1920
"@docusaurus/preset-classic": "3.4.0",
@@ -31,11 +32,7 @@
3132
"typescript": "~5.2.2"
3233
},
3334
"browserslist": {
34-
"production": [
35-
">0.5%",
36-
"not dead",
37-
"not op_mini all"
38-
],
35+
"production": [">0.5%", "not dead", "not op_mini all"],
3936
"development": [
4037
"last 3 chrome version",
4138
"last 3 firefox version",

0 commit comments

Comments
 (0)