Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5c9308a

Browse filesBrowse 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 00764d5 commit 5c9308a
Copy full SHA for 5c9308a

File tree

3 files changed

+24
-0
lines changed
Filter options

3 files changed

+24
-0
lines changed

‎.husky/.gitignore

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

‎package.json

Copy file name to clipboardExpand all lines: package.json
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@
3333
"build-gh-pages": "npm run build-docs",
3434
"cover": "c8 --all --src src --reporter=lcov npm test",
3535
"dev": "npm run lint -- --fix && npm run cover -- -- -st --fail-fast",
36+
"install-hooks": "husky install",
3637
"lint": "true",
3738
"lint-config": "fixpack --dryRun",
3839
"lint-config-and-fix": "fixpack || fixpack",
40+
"postinstall": "npm run install-hooks",
41+
"postpublish": "pinst --enable",
3942
"prepare": "npm run build",
43+
"prepublishOnly": "pinst --disable",
4044
"release": "np",
4145
"test": "ava",
4246
"travis": "npm run lint && npm run cover"
@@ -64,7 +68,9 @@
6468
"esdoc-inject-style-plugin": "1.0.0",
6569
"esdoc-standard-plugin": "1.0.0",
6670
"fixpack": "4.0.0",
71+
"husky": "6.0.0",
6772
"np": "7.4.0",
73+
"pinst": "2.1.6",
6874
"power-assert": "1.6.1",
6975
"regenerator-runtime": "0.13.7",
7076
"xo": "0.38.2"

‎yarn.lock

Copy file name to clipboardExpand all lines: yarn.lock
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4245,6 +4245,11 @@ fragment-cache@^0.2.1:
42454245
dependencies:
42464246
map-cache "^0.2.2"
42474247

4248+
fromentries@^1.3.2:
4249+
version "1.3.2"
4250+
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
4251+
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==
4252+
42484253
fs-extra@1.0.0:
42494254
version "1.0.0"
42504255
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
@@ -4719,6 +4724,11 @@ human-signals@^2.1.0:
47194724
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
47204725
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
47214726

4727+
husky@6.0.0:
4728+
version "6.0.0"
4729+
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
4730+
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
4731+
47224732
ice-cap@0.0.4:
47234733
version "0.0.4"
47244734
resolved "https://registry.yarnpkg.com/ice-cap/-/ice-cap-0.0.4.tgz#8a6d31ab4cac8d4b56de4fa946df3352561b6e18"
@@ -6856,6 +6866,13 @@ pify@^4.0.1:
68566866
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
68576867
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
68586868

6869+
pinst@2.1.6:
6870+
version "2.1.6"
6871+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
6872+
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
6873+
dependencies:
6874+
fromentries "^1.3.2"
6875+
68596876
pirates@^4.0.0:
68606877
version "4.0.1"
68616878
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.