Skip to content

Commit 8731a25

Browse files
committed
build: change script system and bump nusky to next
1 parent 38393f8 commit 8731a25

2 files changed

Lines changed: 109 additions & 11 deletions

File tree

package-lock.json

Lines changed: 101 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"eslint-plugin-promise": "^4.0.0",
7878
"eslint-plugin-unicorn": "^6.0.1",
7979
"execa": "^1.0.0",
80-
"husky": "^0.14.3",
80+
"husky": "^1.0.0-rc.13",
8181
"is-promise": "^2.1.0",
8282
"lint-staged": "^7.0.0",
8383
"nyc": "^13.0.1",
@@ -89,6 +89,13 @@
8989
"tempfile": "^2.0.0"
9090
},
9191
"readme": "posthtml/posthtml-cli/readme",
92+
"husky": {
93+
"hooks": {
94+
"pre-push": "npm t",
95+
"pre-commit": "clinton && lint-staged",
96+
"commit-msg": "commitlint --extends=@commitlint/config-angular -e"
97+
}
98+
},
9299
"lint-staged": {
93100
"{src,test}/**/*.js": "eslint",
94101
"*.md": "eslint"

0 commit comments

Comments
 (0)