Skip to content

Commit 3e4c2c3

Browse files
committed
build: use simple-git-hooks instead of husky
1 parent 4a6e04f commit 3e4c2c3

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

.husky/.gitignore

-1
This file was deleted.

.husky/commit-msg

-4
This file was deleted.

.husky/pre-commit

-4
This file was deleted.

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
"@commitlint/config-conventional": "latest",
3131
"finepack": "latest",
3232
"git-authors-cli": "latest",
33-
"husky": "~5.2.0",
3433
"lerna": "latest",
3534
"lint-staged": "latest",
3635
"npm-check-updates": "latest",
3736
"prettier-standard": "latest",
37+
"simple-git-hooks": "latest",
3838
"standard-markdown": "latest",
3939
"standard-version": "latest"
4040
},
@@ -67,11 +67,15 @@
6767
"package.json": [
6868
"finepack"
6969
],
70-
"*.js": [
70+
"*.js,!*.min.js,": [
7171
"prettier-standard"
7272
],
7373
"*.md": [
7474
"standard-markdown"
7575
]
76+
},
77+
"simple-git-hooks": {
78+
"commit-msg": "npx commitlint --edit",
79+
"pre-commit": "npx lint-staged"
7680
}
7781
}

0 commit comments

Comments
 (0)