Skip to content

Commit 83425a8

Browse files
authored
Simplify root npm scripts (facebook#4228)
1 parent dc52f65 commit 83425a8

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ If you are looking for the source code of the [React Native Archive website](htt
2929

3030
### Running locally
3131

32-
1. `cd website` to go into the website portion of the project.
33-
1. `yarn start` to start the development server _(powered by [Docusaurus](https://v2.docusaurus.io))_.
32+
1. Run `yarn start` to start the development server _(powered by [Docusaurus](https://v2.docusaurus.io))_.
3433
1. Open http://localhost:3000/ site in your favorite browser.
3534

3635
## 📖 Overview

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"scripts": {
1111
"postinstall": "yarn update-lock",
1212
"update-lock": "yarn-deduplicate",
13-
"docusaurus": "yarn workspace react-native-website docusaurus",
14-
"website:start": "yarn workspace react-native-website start",
15-
"website:build": "yarn workspace react-native-website build",
16-
"website:build:fast": "yarn workspace react-native-website build:fast",
17-
"website:serve": "yarn workspace react-native-website serve"
13+
"docusaurus": "yarn --cwd website docusaurus",
14+
"start": "yarn --cwd website start",
15+
"build": "yarn --cwd website build",
16+
"build:fast": "yarn --cwd website build:fast",
17+
"serve": "yarn --cwd website serve"
1818
},
1919
"husky": {
2020
"hooks": {

0 commit comments

Comments
 (0)