Skip to content

Commit 191d037

Browse files
committed
Add husky for pre-push hook
1 parent 6742e40 commit 191d037

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.husky/pre-push

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarn test-all

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"@types/chrome": "^0.0.276",
2424
"eslint": "^9.11.1",
2525
"globals": "^15.9.0",
26+
"husky": "^9.1.6",
2627
"npm-run-all": "^4.1.5",
2728
"prettier": "3.3.3",
2829
"typescript": "^5.6.2"

yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,11 @@ hosted-git-info@^2.1.4:
736736
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
737737
integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==
738738

739+
husky@^9.1.6:
740+
version "9.1.6"
741+
resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.6.tgz#e23aa996b6203ab33534bdc82306b0cf2cb07d6c"
742+
integrity sha512-sqbjZKK7kf44hfdE94EoX8MZNk0n7HeW37O4YrVGCF4wzgQjp+akPAkfUK5LZ6KuR/6sqeAVuXHji+RzQgOn5A==
743+
739744
ignore@^5.2.0:
740745
version "5.3.2"
741746
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5"

0 commit comments

Comments
 (0)