chore: Add postinstall for husky install
This commit is contained in:
parent
d2e1e740d0
commit
917a09767d
2 changed files with 3 additions and 2 deletions
2
.husky/.gitignore
vendored
2
.husky/.gitignore
vendored
|
@ -1 +1 @@
|
||||||
_
|
_
|
|
@ -16,7 +16,8 @@
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"format": "prettier --write **/*.ts",
|
"format": "prettier --write **/*.ts",
|
||||||
"format:check": "prettier --check **/*.ts",
|
"format:check": "prettier --check **/*.ts",
|
||||||
"release": "standard-version"
|
"release": "standard-version",
|
||||||
|
"postinstall": "npx husky install"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"{src,__tests__}/**/*.ts": [
|
"{src,__tests__}/**/*.ts": [
|
||||||
|
|
Loading…
Reference in a new issue