Skip to content

Commit bd8647f

Browse files
committed
build: bum husky to next version
1 parent 93f7fb3 commit bd8647f

File tree

2 files changed

+144
-18
lines changed

2 files changed

+144
-18
lines changed

Diff for: package-lock.json

+135-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
"node": ">=4"
1717
},
1818
"scripts": {
19-
"prepush": "npm t",
20-
"precommit": "clinton && lint-staged",
21-
"commitmsg": "commitlint --extends=@commitlint/config-angular -e",
22-
"postpublish": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"build: update changelog\"",
19+
"version": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"build: update changelog\"",
2320
"prepare": "npm run build",
2421
"build": "rimraf lib && babel src -d lib",
2522
"test": "nyc ava"
@@ -65,11 +62,18 @@
6562
"eslint-plugin-html": "^4.0.5",
6663
"eslint-plugin-markdown": "^1.0.0-beta.7",
6764
"eslint-plugin-unicorn": "^5.0.0",
68-
"husky": "^0.14.3",
65+
"husky": "^1.0.0-rc.13",
6966
"lint-staged": "^7.2.2",
7067
"nyc": "^12.0.2",
7168
"rimraf": "^2.6.1"
7269
},
70+
"husky": {
71+
"hooks": {
72+
"pre-push": "npm t",
73+
"pre-commit": "clinton && lint-staged",
74+
"commit-msg": "commitlint --extends=@commitlint/config-angular -e"
75+
}
76+
},
7377
"lint-staged": {
7478
"{src,test}/**/*.js": "eslint",
7579
"*.md": "eslint"

0 commit comments

Comments
 (0)