Skip to content

Commit

Permalink
chore: Update husky to v6 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunal Nagar committed Jun 11, 2021
1 parent 2bfe028 commit 3a26d29
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
10 changes: 3 additions & 7 deletions package.json
Expand Up @@ -41,12 +41,8 @@
"zip-linux-x64": "zip -r release-builds/encrypt0r-linux-x64.zip release-builds/encrypt0r-linux-x64",
"zip-mac-x64": "zip -r release-builds/encrypt0r-mac.zip release-builds/encrypt0r-darwin-x64",
"zip-win-x64": "zip -r release-builds/encrypt0r-windows-x64.zip release-builds/encrypt0r-win32-x64",
"zip-win-x86": "zip -r release-builds/encrypt0r-windows-x86.zip release-builds/encrypt0r-win32-ia32"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
"zip-win-x86": "zip -r release-builds/encrypt0r-windows-x86.zip release-builds/encrypt0r-win32-ia32",
"prepare": "husky install"
},
"lint-staged": {
"*.md": [
Expand Down Expand Up @@ -88,7 +84,7 @@
"grunt-contrib-cssmin": "4.0.0",
"grunt-contrib-watch": "1.1.0",
"grunt-sass": "3.1.0",
"husky": "6.0.0",
"husky": "^6.0.0",
"lint-staged": "11.0.0",
"load-grunt-tasks": "5.1.0",
"node-sass": "6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Expand Up @@ -2702,7 +2702,7 @@ human-signals@^2.1.0:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==

husky@6.0.0:
husky@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
Expand Down

0 comments on commit 3a26d29

Please sign in to comment.