Files
Agent-System/web/package.json
T
weichenandCursor 46769467bf chore(web): add Playwright UI-only acceptance skeleton
Add @playwright/test, headless config, and document-revision-runtime specs
gated by RUN_UI_ACCEPTANCE without mocks, routes, or API/DB fixtures.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 10:09:18 +00:00

38 lines
1.2 KiB
JSON

{
"name": "shuimu-workbench",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "tsx --test \"src/**/!(*InteractiveCard*|*chatWindowArtifact*|*deliverableSync*).test.ts\" && vitest run src/components/chat/InteractiveCard.test.ts src/components/chat/chatWindowArtifact.test.ts src/components/chat/deliverableSync.test.ts",
"test:ui-acceptance": "RUN_UI_ACCEPTANCE=1 playwright test e2e/document-revision-runtime.spec.ts --project=chromium"
},
"dependencies": {
"@tanstack/react-virtual": "^3.14.11",
"docx": "^9.7.1",
"docx-preview": "^0.4.0",
"katex": "^0.18.7",
"lucide-react": "^1.16.0",
"mathml2omml": "^0.5.0",
"mermaid": "^11.17.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@playwright/test": "^1.63.0",
"@types/katex": "^0.16.8",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.0",
"tsx": "^4.23.13",
"typescript": "~5.9.3",
"vite": "^7.1.14",
"vitest": "^5.0.0"
}
}