Skip to content

Commit 8c50b5f

Browse files
a-flying-potatomake-github-pseudonymous-again
authored andcommittedMar 25, 2021
🤖 config(git-hooks): Setup husky.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/husky:configure.js Please contact the author of the transform if you believe there was an error.
1 parent eed7a25 commit 8c50b5f

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
 

‎.husky/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

‎package.json

+6
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@
2828
"build-docs": "esdoc",
2929
"build-gh-pages": "npm run build-docs",
3030
"cover": "c8 --all --src src --reporter=lcov npm test",
31+
"install-hooks": "husky install",
3132
"lint-config": "fixpack --dryRun",
3233
"lint-config-and-fix": "fixpack || fixpack",
34+
"postinstall": "npm run install-hooks",
35+
"postpublish": "pinst --enable",
3336
"prepare": "npm run build",
37+
"prepublishOnly": "pinst --disable",
3438
"release": "np",
3539
"test": "ava"
3640
},
@@ -54,7 +58,9 @@
5458
"esdoc-inject-style-plugin": "1.0.0",
5559
"esdoc-standard-plugin": "1.0.0",
5660
"fixpack": "4.0.0",
61+
"husky": "5.2.0",
5762
"np": "7.4.0",
63+
"pinst": "2.1.6",
5864
"power-assert": "1.6.1",
5965
"regenerator-runtime": "0.13.7",
6066
"xo": "0.38.2"

‎yarn.lock

+17
Original file line numberDiff line numberDiff line change
@@ -3891,6 +3891,11 @@ fragment-cache@^0.2.1:
38913891
dependencies:
38923892
map-cache "^0.2.2"
38933893

3894+
fromentries@^1.3.2:
3895+
version "1.3.2"
3896+
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
3897+
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==
3898+
38943899
fs-extra@1.0.0:
38953900
version "1.0.0"
38963901
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
@@ -4346,6 +4351,11 @@ human-signals@^2.1.0:
43464351
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
43474352
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
43484353

4354+
husky@5.2.0:
4355+
version "5.2.0"
4356+
resolved "https://registry.yarnpkg.com/husky/-/husky-5.2.0.tgz#fc5e1c2300d34855d47de4753607d00943fc0802"
4357+
integrity sha512-AM8T/auHXRBxlrfPVLKP6jt49GCM2Zz47m8G3FOMsLmTv8Dj/fKVWE0Rh2d4Qrvmy131xEsdQnb3OXRib67PGg==
4358+
43494359
ice-cap@0.0.4:
43504360
version "0.0.4"
43514361
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -6448,6 +6458,13 @@ pify@^4.0.1:
64486458
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
64496459
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
64506460

6461+
pinst@2.1.6:
6462+
version "2.1.6"
6463+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
6464+
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
6465+
dependencies:
6466+
fromentries "^1.3.2"
6467+
64516468
pirates@^4.0.0:
64526469
version "4.0.1"
64536470
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"

0 commit comments

Comments
 (0)
Please sign in to comment.