docs: 修正构建门禁文档中的命令不一致问题 - 统一前端构建命令为 build:prod,后端编译命令为 mvn clean package -DskipTests

This commit is contained in:
2026-04-24 19:06:10 +08:00
parent f2c71b08bb
commit 3c61e39e09
3 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@
**触发时机**`git push` 执行前
**验证内容**
- 完整的单元测试套件
- 构建验证(`npm run build`
- 构建验证(`npm run build:prod`
- 集成测试(核心流程)
**工具配置**
@@ -101,7 +101,7 @@ npm run lint-staged
# .husky/pre-push
#!/bin/sh
npm run test:unit && npm run build
npm run test:unit && npm run build:prod
```
### lint-staged 配置