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: .github/CONTRIBUTING.md
+4-10
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Hi! I’m really excited that you are interested in contributing to Vue Test Uti
22
22
23
23
- It's OK to have multiple small commits as you work on the PR - we will let GitHub automatically squash it before merging.
24
24
25
-
- Make sure `npm test` passes. (see [development setup](#development-setup))
25
+
- Make sure `yarn test` passes. (see [development setup](#development-setup))
26
26
27
27
- If adding new feature:
28
28
@@ -38,28 +38,22 @@ Hi! I’m really excited that you are interested in contributing to Vue Test Uti
38
38
39
39
You will need [Node.js](http://nodejs.org)**version 6+**
40
40
41
-
Vue Test Utils is a monorepo. It contains a root package.json for running scripts across the project. The code is inside separate packages in the `packages` directory. The project uses [lerna](https://lerna.js.org/) to manage the workspaces.
41
+
Vue Test Utils is a monorepo. It contains a root `package.json` for running scripts across the project. The code is inside separate packages in the `packages` directory. The project uses [lerna](https://lerna.js.org/) to manage the workspaces and should be run using [yarn](https://yarnpkg.com/lang/en/).
42
42
43
43
After cloning the repo, run:
44
44
45
45
```bash
46
46
$ yarn
47
47
```
48
48
49
-
Or with npm:
50
-
51
-
```bash
52
-
npm i && npm run bootstrap
53
-
```
54
-
55
49
### Commonly used NPM scripts
56
50
57
51
```bash
58
52
# run unit tests with mocha-webpack
59
-
$ npm run test:unit
53
+
$ yarn test:unit
60
54
61
55
# run the full test suite, include linting / type checking
62
-
$ npmtest
56
+
$ yarntest
63
57
```
64
58
65
59
There are some other scripts available in the `scripts` section of the `package.json` file.
0 commit comments