qwen-code/packages/web-shell/package.json
zhangxy-zju 1d55d290a0
feat(web-shell): render streaming charts with markdown-chart (#7916)
* feat(web-shell): use markdown-chart for streaming charts

* fix(web-shell): address markdown chart review feedback

* fix(web-shell): preserve legacy chart ref caching

* fix(web-shell): preserve chart safety and loader stability

* test(web-shell): strengthen markdown chart safety contracts

* test(web-shell): cover legacy chart streaming adapter
2026-07-29 06:04:56 +00:00

88 lines
2.9 KiB
JSON

{
"name": "@qwen-code/web-shell",
"version": "0.21.1",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist/index.js",
"dist/types"
],
"scripts": {
"dev": "vite",
"build": "vite build && vite build --config vite.lib.config.ts && tsc -p tsconfig.lib.json",
"lint": "cd ../.. && eslint packages/web-shell --ext .ts,.tsx",
"lint:fix": "cd ../.. && eslint packages/web-shell --ext .ts,.tsx --fix",
"format:check": "cd ../.. && prettier --experimental-cli --check packages/web-shell",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run --config vitest.config.ts",
"test:ci": "vitest run --config vitest.config.ts --coverage",
"test:coverage": "vitest run --config vitest.config.ts --coverage",
"test:e2e:smoke": "playwright test --config playwright.config.ts --grep @smoke",
"test:e2e": "playwright test --config playwright.config.ts",
"test:e2e:visuals": "playwright test --config playwright.visuals.config.ts",
"test:e2e:report": "playwright show-report client/e2e/playwright-report",
"verify": "npm run lint && npm run format:check && npm run typecheck && npm run test:ci"
},
"dependencies": {
"@codemirror/autocomplete": "^6.18.0",
"@codemirror/commands": "^6.7.0",
"@codemirror/language": "^6.10.0",
"@codemirror/merge": "^6.12.2",
"@codemirror/state": "^6.5.0",
"@codemirror/view": "^6.35.0",
"@datafe-open/markdown-chart": "^0.1.12",
"@datafe-open/markdown-chart-echarts": "^0.1.12",
"@datafe-open/markdown-chart-react": "^0.1.12",
"@tanstack/react-virtual": "^3.13.26",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"codemirror": "^6.0.0",
"echarts": "^6.0.0",
"fzf": "^0.5.2",
"katex": "^0.16.47",
"lucide-react": "^1.24.0",
"mermaid": "^11.15.0",
"radix-ui": "^1.6.2",
"react-markdown": "^9.0.0",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"shiki": "^1.29.2",
"tailwind-merge": "^3.6.0",
"vaul": "^1.1.2"
},
"peerDependencies": {
"@qwen-code/sdk": ">=0.1.8",
"@qwen-code/webui": ">=0.0.1",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@qwen-code/sdk": "file:../sdk-typescript",
"@qwen-code/webui": "file:../webui",
"@tailwindcss/vite": "^4.3.2",
"@types/node": "^22.0.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.2.0",
"postcss": "^8.5.17",
"postcss-selector-parser": "^7.1.4",
"react": "^19.2.0",
"react-dom": "^19.0.0",
"shadcn": "^4.13.0",
"tailwindcss": "^4.3.2",
"tw-animate-css": "^1.4.0",
"typescript": "^5.3.3",
"vite": "^5.0.0",
"vitest": "^3.2.4"
}
}