Change instruction in readme to mention "yarn"

This commit is contained in:
Samy Pessé
2016-12-22 11:04:41 +01:00
parent 9e399da06a
commit 43ce7badb7
+4 -4
View File
@@ -32,20 +32,20 @@ Please include tests and docs with every pull request!
## Running Tests
To run the examples, you need to have the GitBook repository cloned to your computer. After that, you need to `cd` into the directory where you cloned it, and install the dependencies from `npm`.
To run the examples, you need to have the GitBook repository cloned to your computer. After that, you need to `cd` into the directory where you cloned it, and install the dependencies from `npm` using `yarn`.
```
npm install
$ yarn install
```
Then you'll need to bootstrap it:
```
npm run bootstrap
$ npm run bootstrap
```
Which will also compile the source files. Then run the tests with:
```
npm test
$ npm test
```