Skip to content

Commit

Permalink
Update husky use.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk authored and jdalton committed May 19, 2019
1 parent a3b8290 commit 44d10d0
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 35 deletions.
7 changes: 7 additions & 0 deletions .huskyrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict"

module.exports = {
hooks: {
precommit: "npm run lint"
}
}
89 changes: 60 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
"engines": {
"node": ">=6"
},
"husky": {
"hooks": {
"precommit": "npm run lint"
}
},
"scripts": {
"prelint": "npm run pretest",
"prepare": "npm run build:prod",
Expand Down Expand Up @@ -70,7 +65,7 @@
"golden-fleece": "^1.0.9",
"hard-rejection": "^1.0.0",
"html-minifier": "^3.5.21",
"husky": "^1.3.1",
"husky": "^2.2.0",
"jasmine": "^3.4.0",
"jest": "^24.8.0",
"json-6": "^1.0.2",
Expand Down

0 comments on commit 44d10d0

Please sign in to comment.