Skip to content

Commit 29a7a54

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

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
@@ -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"
@@ -56,7 +60,9 @@
5660
"esdoc-inject-style-plugin": "1.0.0",
5761
"esdoc-standard-plugin": "1.0.0",
5862
"fixpack": "4.0.0",
63+
"husky": "6.0.0",
5964
"np": "7.4.0",
65+
"pinst": "2.1.6",
6066
"power-assert": "1.6.1",
6167
"regenerator-runtime": "0.13.7",
6268
"xo": "0.36.1"

yarn.lock

+17
Original file line numberDiff line numberDiff line change
@@ -4141,6 +4141,11 @@ fragment-cache@^0.2.1:
41414141
dependencies:
41424142
map-cache "^0.2.2"
41434143

4144+
fromentries@^1.3.2:
4145+
version "1.3.2"
4146+
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
4147+
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==
4148+
41444149
41454150
version "1.0.0"
41464151
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
@@ -4570,6 +4575,11 @@ human-signals@^2.1.0:
45704575
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
45714576
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
45724577

4578+
4579+
version "6.0.0"
4580+
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
4581+
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
4582+
45734583
45744584
version "0.0.4"
45754585
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -6657,6 +6667,13 @@ pify@^4.0.1:
66576667
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
66586668
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
66596669

6670+
6671+
version "2.1.6"
6672+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
6673+
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
6674+
dependencies:
6675+
fromentries "^1.3.2"
6676+
66606677
pirates@^4.0.0:
66616678
version "4.0.1"
66626679
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"

0 commit comments

Comments
 (0)