mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-24 10:47:28 +01:00
chore: Add postinstall for husky install
This commit is contained in:
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": [
|
||||||
|
|||||||
Reference in New Issue
Block a user