- 删除 Dockerfile.dev 和 entrypoint.sh,简化开发环境配置 - 修改 Dockerfile 使用 node 基础镜像并添加代理服务器 - 新增 proxy-server.js 处理 API 请求代理 - 更新 nginx 配置指向本地代理服务 - 修改前端请求添加自定义 base URL 头支持
37 lines
907 B
JSON
37 lines
907 B
JSON
{
|
|
"name": "thinkflow",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@vue-flow/background": "^1.3.2",
|
|
"@vue-flow/controls": "^1.1.3",
|
|
"@vue-flow/core": "^1.48.1",
|
|
"@vue-flow/minimap": "^1.5.4",
|
|
"@vue-flow/node-resizer": "^1.5.0",
|
|
"axios": "^1.6.7",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.18.2",
|
|
"html-to-image": "^1.11.13",
|
|
"http-proxy-middleware": "^2.0.6",
|
|
"lucide-vue-next": "^0.322.0",
|
|
"markdown-it": "^14.1.0",
|
|
"vue": "^3.4.15",
|
|
"vue-i18n": "^11.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
"autoprefixer": "^10.4.17",
|
|
"postcss": "^8.4.35",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^5.1.0",
|
|
"vue-tsc": "^3.2.2"
|
|
}
|
|
} |