Skip to content

Commit

Permalink
Use husky
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored and barbogast committed Jun 16, 2017
1 parent faa076d commit 1ada190
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"scripts": {
"lint": "eslint index.js tests",
"test": "painless -r spec tests/*.js",
"coverage": "istanbul cover ./node_modules/painless/bin/painless -- tests/*.js"
"coverage": "istanbul cover ./node_modules/painless/bin/painless -- tests/*.js",
"prepush": "npm run lint && npm test"
},
"repository": {
"type": "git",
Expand All @@ -27,7 +28,7 @@
],
"devDependencies": {
"eslint": "2.10.2",
"ghooks": "1.2.1",
"husky": "0.13.4",
"istanbul": "0.4.3",
"painless": "0.9.5",
"typescript": "2.1.6",
Expand All @@ -39,10 +40,5 @@
"chalk": "1.1.3",
"dotenv": "4.0.0"
},
"config": {
"ghooks": {
"pre-push": "npm run lint && npm test"
}
},
"typings": "envalid.d.ts"
}

0 comments on commit 1ada190

Please sign in to comment.