docs(README): use yarn add for consistency (#734)

Other places we say we default to yarn but then we use npm, was confusing a bit.
This commit is contained in:
Vincent Voyer authored and Christopher Chedeau committed 2017-02-17 11:10:07 -08:00
1 parent 848dfa3505
commit 417279cacd
1 file changed
+1 -1
+1 -1
View File
@@ -131,7 +131,7 @@ In the future we will have better support for formatting whole projects.
Install it along with [pre-commit](https://github.com/observing/pre-commit) (or [husky](https://github.com/typicode/husky)):
```bash
npm install --save-dev lint-staged pre-commit
yarn add lint-staged pre-commit --dev
```
and add this config to your `package.json`: