chore: replace husky with prepush check

This commit is contained in:
Yang Jun
2026-06-06 14:21:02 +08:00
parent a75033e2ca
commit 09bfe13f65
2 changed files with 1 additions and 110 deletions
+1 -7
View File
@@ -17,6 +17,7 @@
"scripts": {
"lint": "eslint \"**/*.mjs\" \"**/*.ts\" .",
"check": "npm run build && npm run build:docs && npm test && npm run lint && npm run perf:diff",
"prepush": "npm run check",
"test": "jest",
"test:coverage": "jest --coverage src test/integration",
"test:e2e": "jest test/e2e",
@@ -97,7 +98,6 @@
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"express": "^4.16.4",
"husky": "^4.2.5",
"jest": "^29.5.0",
"jsdom": "^16.5.0",
"npm-run-all2": "^8.0.4",
@@ -165,11 +165,5 @@
"extension": [
".ts"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run check",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}