dify-conversation/package.json
wenyongda d2d96ab315 Dockerfile打包使用pnpm
next.js打包忽略eslint和typescript报错导致打包失败的问题
ant-design引入兼容包,以兼容React19
eslint配置文件由json更换成js
反馈内容由写死的改为获取当前的conversationid会话ID,反馈的用户名称username从cookie里获取
反馈弹窗弹出时使用Promise异步等待如果没有点击确定,则不传递给dify已反馈成功请求
2025-07-14 16:26:45 +08:00

110 lines
3.0 KiB
JSON

{
"name": "webapp-conversation",
"version": "1.0.0",
"private": true,
"author": "Mars",
"contributors": [
"<Mars> <<3586649@qq.com>> (https://github.com/marsDes)"
],
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"fix": "next lint --fix",
"eslint-fix": "eslint . --fix",
"prepare": "husky install ./.husky"
},
"devDependencies": {
"@antfu/eslint-config": "^3.14.0",
"@faker-js/faker": "^9.4.0",
"@tailwindcss/typography": "^0.5.16",
"@types/js-cookie": "^3.0.6",
"@types/lodash-es": "^4.17.12",
"@types/negotiator": "^0.6.3",
"autoprefixer": "^10.4.20",
"eslint-plugin-react-hooks": "^5.1.0",
"lint-staged": "^15.4.1",
"postcss": "^8.5.1",
"tailwindcss": "^3.4.17"
},
"lint-staged": {
"**/*.js?(x)": [
"eslint --fix"
],
"**/*.ts?(x)": [
"eslint --fix"
]
},
"dependencies": {
"@ant-design/v5-patch-for-react-19": "^1.0.3",
"@emoji-mart/data": "^1.2.1",
"@floating-ui/react": "^0.27.3",
"@formatjs/intl-localematcher": "^0.5.10",
"@headlessui/react": "^2.2.0",
"@heroicons/react": "^2.2.0",
"@monaco-editor/react": "^4.6.0",
"@remixicon/react": "^4.6.0",
"@svgdotjs/svg.js": "^3.2.4",
"@tailwindcss/line-clamp": "^0.4.4",
"@types/node": "^22.10.7",
"@types/react": "^19.0.7",
"@types/react-dom": "^19.0.3",
"@types/react-syntax-highlighter": "^15.5.13",
"ahooks": "^3.8.4",
"antd": "^5.26.4",
"axios": "^1.7.9",
"class-variance-authority": "^0.7.1",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.13",
"dify-client-plus": "^1.0.5",
"echarts": "^5.6.0",
"echarts-for-react": "^3.0.2",
"emoji-mart": "^5.6.0",
"eslint": "^9.18.0",
"eslint-config-next": "^15.1.5",
"eventsource-parser": "^3.0.0",
"form-data": "^4.0.2",
"husky": "^9.1.7",
"i18next": "^24.2.1",
"i18next-resources-to-backend": "^1.2.1",
"immer": "^10.1.1",
"js-audio-recorder": "^1.0.7",
"js-cookie": "^3.0.5",
"katex": "^0.16.21",
"lamejs": "^1.2.1",
"lodash-es": "^4.17.21",
"mermaid": "^11.4.1",
"mime": "^4.0.6",
"negotiator": "^1.0.0",
"next": "^15.1.5",
"rc-textarea": "^1.9.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^5.0.0",
"react-headless-pagination": "^1.1.6",
"react-hotkeys-hook": "^4.6.1",
"react-i18next": "^15.4.0",
"react-markdown": "^9.0.3",
"react-pdf-highlighter": "8.0.0-rc.0",
"react-syntax-highlighter": "^15.6.1",
"react-tooltip": "^5.28.0",
"reactflow": "^11.11.4",
"rehype-katex": "^7.0.1",
"rehype-raw": "^7.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"sass": "^1.83.4",
"scheduler": "^0.25.0",
"server-only": "^0.0.1",
"swr": "^2.3.0",
"tailwind-merge": "^2.6.0",
"typescript": "^5.7.3",
"use-context-selector": "^2.0.0",
"uuid": "^11.0.5",
"zustand": "^5.0.3"
}
}