chore(build): 添加 postinstall 钩子并格式化 package.json
- 在 scripts 中添加 postinstall 命令用于依赖补丁 - 标准化 package.json 的缩进格式 - 添加依赖补丁脚本以确保构建稳定性 - 统一配置文件的代码风格
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"name": "openhis",
|
||||
"version": "3.8.10",
|
||||
"description": "OpenHIS管理系统",
|
||||
@@ -20,7 +20,8 @@
|
||||
"lint": "eslint . --ext .js,.vue src/",
|
||||
"test:e2e": "playwright test",
|
||||
"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": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user