chore(build): 添加 postinstall 钩子并格式化 package.json

- 在 scripts 中添加 postinstall 命令用于依赖补丁
- 标准化 package.json 的缩进格式
- 添加依赖补丁脚本以确保构建稳定性
- 统一配置文件的代码风格
This commit is contained in:
2026-06-03 14:18:36 +08:00
parent 55ff2e630e
commit 85effdee6f

View File

@@ -1,4 +1,4 @@
{ {
"name": "openhis", "name": "openhis",
"version": "3.8.10", "version": "3.8.10",
"description": "OpenHIS管理系统", "description": "OpenHIS管理系统",
@@ -20,7 +20,8 @@
"lint": "eslint . --ext .js,.vue src/", "lint": "eslint . --ext .js,.vue src/",
"test:e2e": "playwright test", "test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui", "test:e2e:ui": "playwright test --ui",
"test:e2e:report": "playwright show-report" "test:e2e:report": "playwright show-report",
"postinstall": "node scripts/patch-deps.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",