Skip to content

Commit 09ae917

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/1b5252aec880aa76850f97b16980a6ce00c782c4/src/transforms/husky:configure.js Please contact the author of the transform if you believe there was an error.
1 parent 2612473 commit 09ae917

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
@@ -29,9 +29,13 @@
2929
"build-docs": "esdoc",
3030
"build-gh-pages": "npm run build-docs",
3131
"cover": "c8 --all --src src --reporter=lcov npm test",
32+
"install-hooks": "husky install",
3233
"lint-config": "fixpack --dryRun",
3334
"lint-config-and-fix": "fixpack || fixpack",
35+
"postinstall": "npm run install-hooks",
36+
"postpublish": "pinst --enable",
3437
"prepare": "npm run build",
38+
"prepublishOnly": "pinst --disable",
3539
"release": "np",
3640
"test": "ava"
3741
},
@@ -63,7 +67,9 @@
6367
"esdoc-inject-style-plugin": "1.0.0",
6468
"esdoc-standard-plugin": "1.0.0",
6569
"fixpack": "4.0.0",
70+
"husky": "7.0.1",
6671
"np": "7.4.0",
72+
"pinst": "2.1.6",
6773
"power-assert": "1.6.1",
6874
"regenerator-runtime": "0.13.9",
6975
"xo": "0.42.0"

yarn.lock

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3745,6 +3745,11 @@ fragment-cache@^0.2.1:
37453745
dependencies:
37463746
map-cache "^0.2.2"
37473747

3748+
fromentries@^1.3.2:
3749+
version "1.3.2"
3750+
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
3751+
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==
3752+
37483753
fs-extra@1.0.0:
37493754
version "1.0.0"
37503755
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
@@ -4134,6 +4139,11 @@ human-signals@^2.1.0:
41344139
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
41354140
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
41364141

4142+
husky@7.0.1:
4143+
version "7.0.1"
4144+
resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.1.tgz#579f4180b5da4520263e8713cc832942b48e1f1c"
4145+
integrity sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA==
4146+
41374147
ice-cap@0.0.4:
41384148
version "0.0.4"
41394149
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -6157,6 +6167,13 @@ pify@^4.0.1:
61576167
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
61586168
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
61596169

6170+
pinst@2.1.6:
6171+
version "2.1.6"
6172+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
6173+
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
6174+
dependencies:
6175+
fromentries "^1.3.2"
6176+
61606177
pirates@^4.0.0:
61616178
version "4.0.1"
61626179
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"

0 commit comments

Comments
 (0)