Repository: okonet/lint-staged (js)

Issue:
Yarn dev dependency not listed
### Description

The build process requires "yarn" package, but it's not listed as a dependency.
"package.json" should be updated to include this devDependency.

### Steps to reproduce

```bash
$ npm install
$ npm test

> lint-staged@0.0.0-development pretest /path/to/lint-staged
> yarn lint

sh: yarn: command not found
npm ERR! Test failed.  See above for more details.

```



Pull request description:
chore: Use npm as script runner
Closes #449 
Closes #450.

Patch:
diff --git a/.lintstagedrc.json b/.lintstagedrc.json
index 7b579cb..71cd2fa 100644
--- a/.lintstagedrc.json
+++ b/.lintstagedrc.json
@@ -1,7 +1,7 @@
 {
   "linters": {
     "*.{js,json,md}": ["prettier --write", "git add"],
-    "*.js": ["yarn lint:base --fix", "git add"],
+    "*.js": ["npm run lint:base --fix", "git add"],
     ".*{rc, json}": "jsonlint"
   }
 }
diff --git a/package.json b/package.json
index d2afa78..66a9b41 100644
--- a/package.json
+++ b/package.json
@@ -18,9 +18,9 @@
     "precommit": "node index.js",
     "cz": "git-cz",
     "lint:base": "eslint --rule \"prettier/prettier: 2\"",
-    "lint": "yarn lint:base -- .",
-    "lint:fix": "yarn lint --fix",
-    "pretest": "yarn lint",
+    "lint": "npm run lint:base -- .",
+    "lint:fix": "npm run lint --fix",
+    "pretest": "npm run lint",
     "test": "jest --coverage",
     "test:watch": "jest --watch"
   },


Test patch:
diff --git a/test/__snapshots__/findBin.spec.js.snap b/test/__snapshots__/findBin.spec.js.snap
index c3d3afa..fa4989d 100644
--- a/test/__snapshots__/findBin.spec.js.snap
+++ b/test/__snapshots__/findBin.spec.js.snap
@@ -6,5 +6,5 @@ WARN \`lint-staged\` no longer supports running scripts defined in package.json.
 
 The same behavior can be achieved by changing the command to any of the following:
   - \`npm run lint -- \`
-  - \`yarn lint:base -- . \`"
+  - \`npm run lint:base -- . \`"
 `;