Skip to content

Commit

Permalink
chore(deps): bump husky to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed Dec 6, 2020
1 parent 6ebaea3 commit 2e72c16
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 132 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

npm run pretty-quick
129 changes: 4 additions & 125 deletions package-lock.json

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

10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@
"pregenerate": "node build.js",
"generate": "nuxt generate --modern",
"pretty-quick": "pretty-quick --staged --pattern \"**/*.*(html|js|json|vue)\"",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "npm run pretty-quick"
}
"test": "jest",
"postinstall": "husky install"
},
"prettier": {
"trailingComma": "es5",
Expand Down Expand Up @@ -62,7 +58,7 @@
"eslint": "^7.15.0",
"eslint-plugin-vue": "^7.2.0",
"firebase-mock": "^2.3.2",
"husky": "^4.3.4",
"husky": "^5.0.4",
"jest": "^26.6.3",
"jest-serializer-vue": "^2.0.2",
"prettier": "^2.2.1",
Expand Down

0 comments on commit 2e72c16

Please sign in to comment.