Skip to content

Commit 3f7f950

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/ebf7e47fdba6d4d1465a98658ef1d4e78f0eace6/src/transforms/husky:configure.js Please contact the author of the transform if you believe there was an error.
1 parent 2cec2d6 commit 3f7f950

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
@@ -30,10 +30,14 @@
3030
"build-gh-pages": "npm run build-docs",
3131
"cover": "c8 --all --src src --reporter=lcov npm test",
3232
"dev": "npm run lint -- --fix && npm run cover -- -- -st --fail-fast",
33+
"install-hooks": "husky install",
3334
"lint": "xo",
3435
"lint-config": "fixpack --dryRun",
3536
"lint-config-and-fix": "fixpack || fixpack",
37+
"postinstall": "npm run install-hooks",
38+
"postpublish": "pinst --enable",
3639
"prepare": "npm run build",
40+
"prepublishOnly": "pinst --disable",
3741
"release": "np",
3842
"test": "ava",
3943
"travis": "npm run lint && npm run cover"
@@ -60,7 +64,9 @@
6064
"esdoc-inject-style-plugin": "1.0.0",
6165
"esdoc-standard-plugin": "1.0.0",
6266
"fixpack": "4.0.0",
67+
"husky": "8.0.1",
6368
"np": "7.4.0",
69+
"pinst": "3.0.0",
6470
"power-assert": "1.6.1",
6571
"regenerator-runtime": "0.13.7",
6672
"xo": "0.36.1"

yarn.lock

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

4614+
4615+
version "8.0.1"
4616+
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9"
4617+
integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==
4618+
46144619
46154620
version "0.0.4"
46164621
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -6703,6 +6708,11 @@ pify@^4.0.1:
67036708
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
67046709
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
67056710

6711+
6712+
version "3.0.0"
6713+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-3.0.0.tgz#80dec0a85f1f993c6084172020f3dbf512897eec"
6714+
integrity sha512-cengSmBxtCyaJqtRSvJorIIZXMXg+lJ3sIljGmtBGUVonMnMsVJbnzl6jGN1HkOWwxNuJynCJ2hXxxqCQrFDdw==
6715+
67066716
pirates@^4.0.0:
67076717
version "4.0.1"
67086718
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"

0 commit comments

Comments
 (0)