ci: Migrate husky from v4 to v5

This commit is contained in:
peaceiris 2021-02-10 13:43:04 +09:00
parent 9564982d19
commit 10348d5db2
No known key found for this signature in database
GPG key ID: 5868468A8EBA64EC
3 changed files with 193 additions and 35 deletions

View file

@ -16,7 +16,8 @@
"tsc": "tsc",
"format": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"release": "standard-version"
"release": "standard-version",
"update-deps": "(git diff 'HEAD@{1}' --name-only | grep 'package-lock.json' > /dev/null) && npm ci || :"
},
"lint-staged": {
"{src,__tests__}/**/*.ts": [
@ -61,7 +62,7 @@
"@vercel/ncc": "^0.25.1",
"eslint": "^7.13.0",
"eslint-plugin-jest": "^24.1.2",
"husky": "^4.3.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"lint-staged": "^10.5.1",