Skip to content

Commit eeae037

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/8134808bd3e9bcbb3e4b2ca5401e2dee58965a01/src/transforms/husky:configure.js Please contact the author of the transform if you believe there was an error.
1 parent 4591ce0 commit eeae037

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-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
@@ -42,10 +42,14 @@
4242
"build-gh-pages": "npm run build-docs",
4343
"cover": "c8 --all --src src --reporter=lcov npm test",
4444
"dev": "npm run lint -- --fix && npm run cover -- -- -st --fail-fast",
45+
"install-hooks": "husky install",
4546
"lint": "xo",
4647
"lint-config": "fixpack --dryRun",
4748
"lint-config-and-fix": "fixpack || fixpack",
49+
"postinstall": "npm run install-hooks",
50+
"postpublish": "pinst --enable",
4851
"prepare": "npm run build",
52+
"prepublishOnly": "pinst --disable",
4953
"release": "np",
5054
"test": "ava",
5155
"travis": "npm run lint && npm run cover"
@@ -76,7 +80,9 @@
7680
"esdoc-inject-style-plugin": "1.0.0",
7781
"esdoc-standard-plugin": "1.0.0",
7882
"fixpack": "4.0.0",
83+
"husky": "7.0.4",
7984
"np": "7.6.0",
85+
"pinst": "2.1.6",
8086
"power-assert": "1.6.1",
8187
"regenerator-runtime": "0.13.9",
8288
"xo": "0.47.0"

yarn.lock

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3557,6 +3557,11 @@ form-data@~2.3.2:
35573557
combined-stream "^1.0.6"
35583558
mime-types "^2.1.12"
35593559

3560+
fromentries@^1.3.2:
3561+
version "1.3.2"
3562+
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
3563+
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==
3564+
35603565
fs-extra@1.0.0:
35613566
version "1.0.0"
35623567
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
@@ -3927,6 +3932,11 @@ human-signals@^2.1.0:
39273932
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
39283933
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
39293934

3935+
husky@7.0.4:
3936+
version "7.0.4"
3937+
resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535"
3938+
integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==
3939+
39303940
ice-cap@0.0.4:
39313941
version "0.0.4"
39323942
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -5755,6 +5765,13 @@ pify@^4.0.1:
57555765
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
57565766
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
57575767

5768+
pinst@2.1.6:
5769+
version "2.1.6"
5770+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
5771+
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
5772+
dependencies:
5773+
fromentries "^1.3.2"
5774+
57585775
pirates@^4.0.0:
57595776
version "4.0.4"
57605777
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.4.tgz#07df81e61028e402735cdd49db701e4885b4e6e6"

0 commit comments

Comments
 (0)