Skip to content

Commit 2de945b

Browse files
🤖 config(git-hooks): Setup husky.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/9b50c2a1d7e9ab7b4bc9c9ff88892e98c5f62244/src/transforms/husky:configure.js Please contact the author of the transform if you believe there was an error.
1 parent 2fe95d1 commit 2de945b

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,13 @@
3535
"build-docs": "esdoc",
3636
"build-gh-pages": "npm run build-docs",
3737
"cover": "c8 --all --src src --reporter=lcov npm test",
38+
"install-hooks": "husky install",
3839
"lint-config": "fixpack --dryRun",
3940
"lint-config-and-fix": "fixpack || fixpack",
41+
"postinstall": "npm run install-hooks",
42+
"postpublish": "pinst --enable",
4043
"prepare": "npm run build",
44+
"prepublishOnly": "pinst --disable",
4145
"release": "np",
4246
"test": "ava"
4347
},
@@ -59,7 +63,9 @@
5963
"esdoc-inject-style-plugin": "1.0.0",
6064
"esdoc-standard-plugin": "1.0.0",
6165
"fixpack": "4.0.0",
66+
"husky": "8.0.1",
6267
"np": "7.4.0",
68+
"pinst": "3.0.0",
6369
"power-assert": "1.6.1",
6470
"regenerator-runtime": "0.13.10",
6571
"xo": "0.52.4"

yarn.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4097,6 +4097,11 @@ human-signals@^2.1.0:
40974097
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
40984098
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
40994099

4100+
4101+
version "8.0.1"
4102+
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9"
4103+
integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==
4104+
41004105
41014106
version "0.0.4"
41024107
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -6114,6 +6119,11 @@ pify@^4.0.1:
61146119
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
61156120
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
61166121

6122+
6123+
version "3.0.0"
6124+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-3.0.0.tgz#80dec0a85f1f993c6084172020f3dbf512897eec"
6125+
integrity sha512-cengSmBxtCyaJqtRSvJorIIZXMXg+lJ3sIljGmtBGUVonMnMsVJbnzl6jGN1HkOWwxNuJynCJ2hXxxqCQrFDdw==
6126+
61176127
pirates@^4.0.0:
61186128
version "4.0.5"
61196129
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b"

0 commit comments

Comments
 (0)