Skip to content

Commit

Permalink
chore: add husky
Browse files Browse the repository at this point in the history
  • Loading branch information
setaman committed Mar 5, 2022
1 parent f7df71f commit 0e0a690
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit $1
44 changes: 35 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"lint": "vue-cli-service lint --fix",
"test": "vue-cli-service test:unit --colors",
"publish-beta": "npm run lint && npm run test && npm run build && npm publish --tag beta",
"changelog": "auto-changelog --template changelog-template.hbs"
"changelog": "auto-changelog --template changelog-template.hbs",
"prepare": "husky install"
},
"author": {
"name": "Sergej Atamantschuk",
Expand Down Expand Up @@ -55,7 +56,8 @@
"node-sass": "^5.0.0",
"prettier": "^2.3.0",
"sass-loader": "^10.1.1",
"vue": "^3.0.6"
"vue": "^3.0.6",
"husky": "^7.0.0"
},
"files": [
"dist"
Expand Down

0 comments on commit 0e0a690

Please sign in to comment.