Files
udmin/frontend/package.json
ayou 7637a5c225 fix(proxy): 更新预览端口并优化SSE和WS代理配置
- 将预览端口从5173改为8888以避免冲突
- 重构SSE代理配置,简化逻辑并修复连接问题
- 新增WS代理路径,支持WebSocket独立代理
2025-09-21 23:36:23 +08:00

63 lines
1.9 KiB
JSON

{
"name": "frontend",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview --port 8888"
},
"dependencies": {
"@ant-design/icons": "^5.4.0",
"@douyinfe/semi-icons": "^2.80.0",
"@douyinfe/semi-ui": "^2.80.0",
"@flowgram.ai/form-materials": "^0.4.7",
"@flowgram.ai/free-container-plugin": "^0.4.7",
"@flowgram.ai/free-group-plugin": "^0.4.7",
"@flowgram.ai/free-layout-editor": "^0.4.7",
"@flowgram.ai/free-lines-plugin": "^0.4.7",
"@flowgram.ai/free-node-panel-plugin": "^0.4.7",
"@flowgram.ai/free-snap-plugin": "^0.4.7",
"@flowgram.ai/minimap-plugin": "^0.4.7",
"@flowgram.ai/panel-manager-plugin": "^0.4.17",
"@flowgram.ai/runtime-interface": "^0.4.7",
"@flowgram.ai/runtime-js": "^0.4.7",
"antd": "^5.17.0",
"axios": "^1.7.2",
"classnames": "^2.5.1",
"highlight.js": "^11.11.1",
"js-yaml": "^4.1.0",
"lodash-es": "^4.17.21",
"nanoid": "^4.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-json-view-lite": "^2.4.2",
"react-router-dom": "^6.26.2",
"styled-components": "^5.3.11"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.28.0",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.12",
"@types/node": "^24.5.1",
"@types/react": "^18.3.24",
"@types/react-dom": "^18.3.7",
"@types/styled-components": "^5.1.34",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^3.2.4",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"jsdom": "^27.0.0",
"less": "^4.2.0",
"typescript": "^5.4.0",
"vite": "^5.2.0",
"vitest": "^3.2.4"
},
"vitest": {
"environment": "node"
}
}