Use Node zlib in a post-vite step so the Go server can serve negotiated variants without per-request compression cost. Co-authored-by: Cursor <cursoragent@cursor.com>
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"name": "shuimu-workbench",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build && node scripts/precompress-dist.mjs",
|
|
"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"
|
|
}
|
|
}
|