Skip to content

Commit a9d4886

Browse files
committed
chore: upgrade husky
1 parent 84f0f49 commit a9d4886

2 files changed

Lines changed: 502 additions & 473 deletions

File tree

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
"pretest": "npm run lint",
2121
"test": "jest",
2222
"pretravis": "npm run lint && npm run clean",
23-
"travis": "npm run cover",
24-
"precommit": "lint-staged"
23+
"travis": "npm run cover"
2524
},
2625
"repository": "SimenB/add-asset-html-webpack-plugin",
2726
"keywords": [
@@ -54,7 +53,7 @@
5453
"eslint-config-simenb-base": "^15.0.0",
5554
"eslint_d": "^7.1.0",
5655
"html-webpack-plugin": "^4.0.0-0",
57-
"husky": "^0.14.3",
56+
"husky": "^1.0.1",
5857
"jest": "^23.6.0",
5958
"jest-watch-typeahead": "^0.2.0",
6059
"licensor": "^4.0.0",
@@ -114,5 +113,10 @@
114113
}
115114
}
116115
]
116+
},
117+
"husky": {
118+
"hooks": {
119+
"pre-commit": "lint-staged"
120+
}
117121
}
118122
}

0 commit comments

Comments
 (0)