Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 4b7cf82

Browse files
committed
build: migrate husky scripts
1 parent 0416925 commit 4b7cf82

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"lib"
1414
],
1515
"scripts": {
16-
"commitmsg": "commitlint -e $GIT_PARAMS",
1716
"semantic-release": "semantic-release",
1817
"prettier": "prettier '**/{*.{js?(on),ts?(x),scss,yml},.*.js?(on),.*.yml}' --write --list-different",
1918
"typecheck": "tsc -p tsconfig.json",
@@ -93,5 +92,10 @@
9392
"typescript": "^3.2.1",
9493
"webpack": "^4.13.0",
9594
"webpack-cli": "^3.0.8"
95+
},
96+
"husky": {
97+
"hooks": {
98+
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
99+
}
96100
}
97101
}

0 commit comments

Comments
 (0)