chore(tooling): 对齐协作规范与浏览器验收工具

验证:713 项单测、8 视口环境、代码及格式检查通过;未运行生产构建。
This commit is contained in:
zhanjunhao
2026-11-17 14:48:50 +08:00
parent e7a7541b2b
commit 92380ebab6
30 changed files with 2089 additions and 160 deletions
+9 -3
View File
@@ -53,7 +53,7 @@
"test": "node scripts/test.mjs",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:e2e:report": "playwright show-report",
"test:e2e:report": "node scripts/run-playwright.mjs report",
"lint": "prettier . --check",
"lint:fix": "prettier . --write",
"check": "npm run check:ui && npm run eslint && npm test -- --test-concurrency=1 && npm run build",
@@ -65,7 +65,13 @@
"i18n:sync": "i18next-cli sync",
"i18n:lint": "i18next-cli lint",
"check:ui": "node scripts/check-ui-dependencies.mjs",
"vendor:icons": "node scripts/vendor-brand-icons.mjs"
"vendor:icons": "node scripts/vendor-brand-icons.mjs",
"test:e2e:headless": "node scripts/run-playwright.mjs headless",
"test:e2e:extended": "node scripts/run-playwright.mjs extended",
"test:e2e:dist": "node scripts/run-playwright.mjs dist",
"verify:build": "node scripts/verify-build.mjs",
"test:acceptance": "npm test -- --test-concurrency=1 && node scripts/run-acceptance.mjs",
"test:e2e:environment": "node scripts/test-playwright-environment.mjs"
},
"browserslist": {
"production": [
@@ -80,7 +86,7 @@
]
},
"devDependencies": {
"@playwright/test": "^1.64.1",
"@playwright/test": "1.64.1",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.21",
"esbuild": "0.21.5",