mirror of
https://github.com/Silentely/eSIM-Tools.git
synced 2026-09-03 06:24:20 +08:00
🔧 chore(hooks): 新增提交与推送质量门禁
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
"description": "专为Giffgaff和Simyo用户设计的eSIM管理工具集",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"hooks:install": "git config core.hooksPath .githooks",
|
||||
"hooks:list": "ls -1 .githooks",
|
||||
"precommit:check": "node scripts/pre-commit-check.js",
|
||||
"prepush:check": "node scripts/pre-push-check.js --mode=full",
|
||||
"prepush:check:fast": "node scripts/pre-push-check.js --mode=fast",
|
||||
"commitmsg:lint": "node scripts/commit-msg-lint.js",
|
||||
"prestart": "npm run build",
|
||||
"predev": "npm run build",
|
||||
"prenetlify-dev": "npm run build",
|
||||
|
||||
Reference in New Issue
Block a user