Browse Source

Added husky (#251)

* Added husky

* Lint on precommit
master
Tim Neutkens 8 years ago
committed by Matheus Fernandes
parent
commit
d8f532cabf
  1. 5
      package.json

5
package.json

@ -9,7 +9,9 @@
"lib"
],
"scripts": {
"test": "xo && ava",
"precommit": "npm run lint",
"lint": "xo",
"test": "npm run lint && ava",
"pack": "pkg . --out-dir packed"
},
"pkg": {
@ -87,6 +89,7 @@
"devDependencies": {
"alpha-sort": "^2.0.0",
"ava": "^0.17.0",
"husky": "^0.13.1",
"pkg": "^3.0.0-beta.22",
"xo": "^0.17.1"
}

Loading…
Cancel
Save