feat: 添加代码健康度检查脚本

scripts/health-check.ts 汇总项目各维度指标:
代码规模、lint 问题、测试结果、冗余代码、构建状态和产物大小。
新增 health script 一键运行。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
claude-code-best
2026-04-01 07:17:09 +08:00
parent c587a64320
commit 173d18bea8
3 changed files with 166 additions and 2 deletions

View File

@@ -18,7 +18,8 @@
"format": "biome format --write src/",
"prepare": "git config core.hooksPath .githooks",
"test": "bun test",
"check:unused": "knip-bun"
"check:unused": "knip-bun",
"health": "bun run scripts/health-check.ts"
},
"dependencies": {
"@alcalzone/ansi-tokenize": "^0.3.0",