feat: add husky as dev dependencies for better git hooks experience and fix entry point name for github activity readme
This commit is contained in:
parent
dba4f068bc
commit
82946af4d5
4
.husky/pre-push
Executable file
4
.husky/pre-push
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
yarn lint
|
||||||
@ -111,13 +111,13 @@ Other 28 mins █░░░░░░░░░░░░░░░░
|
|||||||
|
|
||||||
<!--  -->
|
<!--  -->
|
||||||
|
|
||||||
<!--START_SECTION:activity-->
|
<!--RECENT_ACTIVITY:start-->
|
||||||
<!--END_SECTION:activity-->
|
<!--RECENT_ACTIVITY:end-->
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td valign="top" width="50%">
|
<td valign="top" width="50%">
|
||||||
|
|
||||||
#### 🩴 <a href="https://twitter.com/andatoshiki" target="_blank">Twitter updates</a>
|
#### <a href="https://twitter.com/andatoshiki" target="_blank">Twitter updates</a>
|
||||||
|
|
||||||
<!-- twitter_plugin_start -->
|
<!-- twitter_plugin_start -->
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
"NPM_UID": "andatoshiki"
|
"NPM_UID": "andatoshiki"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"prepare": "husky install",
|
||||||
"generate:metadata": "node scripts/index.js",
|
"generate:metadata": "node scripts/index.js",
|
||||||
"lint": "prettier --write .",
|
"lint": "prettier --write .",
|
||||||
"generate": "node main.js"
|
"generate": "node main.js"
|
||||||
@ -25,6 +26,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.3.4",
|
"axios": "^1.3.4",
|
||||||
|
"husky": "^8.0.3",
|
||||||
"simple-icons": "^6.7.0"
|
"simple-icons": "^6.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -411,6 +411,11 @@ http-cache-semantics@^4.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
|
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
|
||||||
integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==
|
integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==
|
||||||
|
|
||||||
|
husky@^8.0.3:
|
||||||
|
version "8.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
|
||||||
|
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
|
||||||
|
|
||||||
ignore-by-default@^1.0.1:
|
ignore-by-default@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09"
|
resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user