build(deps-dev): bump husky from 4.3.8 to 5.0.9 (#29)

This commit is contained in:
dependabot[bot] 2021-02-09 20:22:40 +01:00 committed by GitHub
parent 7f1c25ed98
commit 17d7f264a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 8 deletions

1
.husky/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_

4
.husky/commit-msg Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install commitlint --edit

4
.husky/pre-commit Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run lint

View File

@ -25,12 +25,6 @@
"url": "https://github.com/Thream/socketio-jwt/issues" "url": "https://github.com/Thream/socketio-jwt/issues"
}, },
"homepage": "https://github.com/Thream/socketio-jwt#readme", "homepage": "https://github.com/Thream/socketio-jwt#readme",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run lint"
}
},
"release-it": { "release-it": {
"git": { "git": {
"commitMessage": "chore(release): v${version}" "commitMessage": "chore(release): v${version}"
@ -77,7 +71,10 @@
"release": "release-it", "release": "release-it",
"test": "jest", "test": "jest",
"test:watchAll": "jest --watchAll", "test:watchAll": "jest --watchAll",
"test:clearCache": "jest --clearCache" "test:clearCache": "jest --clearCache",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
}, },
"peerDependencies": { "peerDependencies": {
"socket.io": ">=3.0.0" "socket.io": ">=3.0.0"
@ -96,8 +93,9 @@
"@types/server-destroy": "1.0.1", "@types/server-destroy": "1.0.1",
"axios": "0.21.1", "axios": "0.21.1",
"express": "4.17.1", "express": "4.17.1",
"husky": "4.3.8", "husky": "5.0.9",
"jest": "26.6.3", "jest": "26.6.3",
"pinst": "2.1.4",
"release-it": "14.3.0", "release-it": "14.3.0",
"rimraf": "3.0.2", "rimraf": "3.0.2",
"server-destroy": "1.0.1", "server-destroy": "1.0.1",