Skip to content

Commit 0e0a690

Browse files
committed
chore: add husky
1 parent f7df71f commit 0e0a690

File tree

3 files changed

+43
-11
lines changed

3 files changed

+43
-11
lines changed

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit $1

package-lock.json

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

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"lint": "vue-cli-service lint --fix",
1111
"test": "vue-cli-service test:unit --colors",
1212
"publish-beta": "npm run lint && npm run test && npm run build && npm publish --tag beta",
13-
"changelog": "auto-changelog --template changelog-template.hbs"
13+
"changelog": "auto-changelog --template changelog-template.hbs",
14+
"prepare": "husky install"
1415
},
1516
"author": {
1617
"name": "Sergej Atamantschuk",
@@ -55,7 +56,8 @@
5556
"node-sass": "^5.0.0",
5657
"prettier": "^2.3.0",
5758
"sass-loader": "^10.1.1",
58-
"vue": "^3.0.6"
59+
"vue": "^3.0.6",
60+
"husky": "^7.0.0"
5961
},
6062
"files": [
6163
"dist"

0 commit comments

Comments
 (0)