chore: Add postinstall for husky install

This commit is contained in:
peaceiris 2021-03-06 23:04:54 +09:00
parent d2e1e740d0
commit 917a09767d
No known key found for this signature in database
GPG key ID: 5868468A8EBA64EC
2 changed files with 3 additions and 2 deletions

2
.husky/.gitignore vendored
View file

@ -1 +1 @@
_ _

View file

@ -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": [