Skip to content

Commit 3c2a0fc

Browse files
🤖 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/84eaeb4142b3fee77a179bb93606956b18566d90/src/transforms/husky:configure.js Please contact the author of the transform if you believe there was an error.
1 parent c60a705 commit 3c2a0fc

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
@@ -52,11 +52,15 @@
5252
"cover": "c8 --all --src src --reporter=lcov npm test",
5353
"debug": "NODE_ENV=debug npm run test -- -st --fail-fast",
5454
"dev": "npm run lint-config-and-fix && npm run lint-and-fix && npm run cover -- -- -st --fail-fast",
55+
"install-hooks": "husky install",
5556
"lint": "xo",
5657
"lint-and-fix": "npm run lint -- --fix",
5758
"lint-config": "fixpack --dryRun",
5859
"lint-config-and-fix": "fixpack || fixpack",
60+
"postinstall": "npm run install-hooks",
61+
"postpublish": "pinst --enable",
5962
"prepare": "npm run build",
63+
"prepublishOnly": "pinst --disable",
6064
"release": "np --message ':hatching_chick: release: Bumping to v%s.'",
6165
"test": "ava",
6266
"travis": "npm run lint-config && npm run lint && npm run cover"
@@ -77,8 +81,10 @@
7781
"esdoc-inject-style-plugin": "1.0.0",
7882
"esdoc-standard-plugin": "1.0.0",
7983
"fixpack": "4.0.0",
84+
"husky": "5.2.0",
8085
"microbundle": "0.13.0",
8186
"np": "7.4.0",
87+
"pinst": "2.1.6",
8288
"power-assert": "1.6.1",
8389
"xo": "0.38.2"
8490
},

yarn.lock

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4294,6 +4294,11 @@ fragment-cache@^0.2.1:
42944294
dependencies:
42954295
map-cache "^0.2.2"
42964296

4297+
fromentries@^1.3.2:
4298+
version "1.3.2"
4299+
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
4300+
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==
4301+
42974302
fs-extra@1.0.0:
42984303
version "1.0.0"
42994304
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
@@ -4804,6 +4809,11 @@ human-signals@^2.1.0:
48044809
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
48054810
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
48064811

4812+
husky@5.2.0:
4813+
version "5.2.0"
4814+
resolved "https://registry.yarnpkg.com/husky/-/husky-5.2.0.tgz#fc5e1c2300d34855d47de4753607d00943fc0802"
4815+
integrity sha512-AM8T/auHXRBxlrfPVLKP6jt49GCM2Zz47m8G3FOMsLmTv8Dj/fKVWE0Rh2d4Qrvmy131xEsdQnb3OXRib67PGg==
4816+
48074817
ice-cap@0.0.4:
48084818
version "0.0.4"
48094819
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -7139,6 +7149,13 @@ pify@^5.0.0:
71397149
resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f"
71407150
integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==
71417151

7152+
pinst@2.1.6:
7153+
version "2.1.6"
7154+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
7155+
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
7156+
dependencies:
7157+
fromentries "^1.3.2"
7158+
71427159
pirates@^4.0.0:
71437160
version "4.0.1"
71447161
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"

0 commit comments

Comments
 (0)