Skip to content

Commit 075bc97

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/9b50c2a1d7e9ab7b4bc9c9ff88892e98c5f62244/src/transforms/husky:configure.js Please contact the author of the transform if you believe there was an error.
1 parent bff1652 commit 075bc97

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-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
@@ -32,10 +32,14 @@
3232
"build-gh-pages": "npm run build-docs",
3333
"cover": "c8 --all --src src --reporter=lcov npm test",
3434
"dev": "npm run lint -- --fix && npm run cover -- -- -st --fail-fast",
35+
"install-hooks": "husky install",
3536
"lint": "xo",
3637
"lint-config": "fixpack --dryRun",
3738
"lint-config-and-fix": "fixpack || fixpack",
39+
"postinstall": "npm run install-hooks",
40+
"postpublish": "pinst --enable",
3841
"prepare": "npm run build",
42+
"prepublishOnly": "pinst --disable",
3943
"release": "np",
4044
"test": "ava",
4145
"travis": "npm run lint && npm run cover"
@@ -70,7 +74,9 @@
7074
"esdoc-inject-style-plugin": "1.0.0",
7175
"esdoc-standard-plugin": "1.0.0",
7276
"fixpack": "4.0.0",
77+
"husky": "8.0.1",
7378
"np": "7.6.2",
79+
"pinst": "3.0.0",
7480
"power-assert": "1.6.1",
7581
"regenerator-runtime": "0.13.10",
7682
"xo": "0.52.4"

yarn.lock

+10
Original file line numberDiff line numberDiff line change
@@ -4011,6 +4011,11 @@ human-signals@^2.1.0:
40114011
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
40124012
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
40134013

4014+
4015+
version "8.0.1"
4016+
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9"
4017+
integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==
4018+
40144019
40154020
version "0.0.4"
40164021
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -5817,6 +5822,11 @@ pify@^4.0.1:
58175822
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
58185823
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
58195824

5825+
5826+
version "3.0.0"
5827+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-3.0.0.tgz#80dec0a85f1f993c6084172020f3dbf512897eec"
5828+
integrity sha512-cengSmBxtCyaJqtRSvJorIIZXMXg+lJ3sIljGmtBGUVonMnMsVJbnzl6jGN1HkOWwxNuJynCJ2hXxxqCQrFDdw==
5829+
58205830
pirates@^4.0.5:
58215831
version "4.0.5"
58225832
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b"

0 commit comments

Comments
 (0)