Skip to content

Commit f7e67c1

Browse files
committed
Update CONTRIBUTING
1 parent 599d4b8 commit f7e67c1

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

CONTRIBUTING.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Fork, then clone the repo:
1818
git clone https://github.com/your-username/redux-toolkit.git
1919
```
2020

21+
Then run `yarn` from the parent directory.
22+
2123
### Building
2224

2325
Running the `build` task will create both a CommonJS module-per-module build and a UMD build.
@@ -31,19 +33,13 @@ npm run build
3133
To run the tests:
3234

3335
```
34-
npm run test
36+
yarn test
3537
```
3638

3739
To continuously watch and run tests, run the following:
3840

3941
```
40-
npm test -- --watch
41-
```
42-
43-
To perform linting with `eslint`, run the following:
44-
45-
```
46-
npm run lint
42+
yarn test --watch
4743
```
4844

4945
### New Features

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"test": "yarn test:packages",
4646
"build:examples": "yarn workspaces foreach --include '@reduxjs/*' --include '@examples-query-react/*' -vtp run build",
4747
"build:docs": "yarn workspace website run build",
48-
"dev:docs": "yarn workspace website run start",
4948
"build:packages": "yarn workspaces foreach --include '@reduxjs/*' --include '@rtk-query/*' --topological-dev run build",
50-
"test:packages": "yarn workspaces foreach --include '@reduxjs/*' --include '@rtk-query/*' run test"
49+
"test:packages": "yarn workspaces foreach --include '@reduxjs/*' --include '@rtk-query/*' run test",
50+
"dev:docs": "yarn workspace website run start"
5151
}
5252
}

0 commit comments

Comments
 (0)