package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "chat-client-web",
  3. "version": "1.0.0",
  4. "private": true,
  5. "description": "AI问答-客户端",
  6. "license": "MIT",
  7. "scripts": {
  8. "dev": "next dev -p 4000",
  9. "out": "yarn run build && yarn run export",
  10. "mask": "npx tsx app/masks/build.ts",
  11. "mask:watch": "npx watch \"yarn mask\" app/masks",
  12. "build": "cross-env BUILD_MODE=standalone next build",
  13. "start": "next start",
  14. "lint": "next lint",
  15. "export": "cross-env BUILD_MODE=export BUILD_APP=1 next build",
  16. "export:dev": "cross-env BUILD_MODE=export BUILD_APP=1 next dev",
  17. "app:dev": "yarn tauri dev",
  18. "app:build": "yarn mask && yarn tauri build",
  19. "prompts": "node ./scripts/fetch-prompts.mjs",
  20. "prepare": "husky install",
  21. "proxy-dev": "sh ./scripts/init-proxy.sh && proxychains -f ./scripts/proxychains.conf yarn dev"
  22. },
  23. "dependencies": {
  24. "@fortaine/fetch-event-source": "^3.0.6",
  25. "@hello-pangea/dnd": "^16.5.0",
  26. "@next/third-parties": "^14.1.0",
  27. "@svgr/webpack": "^6.5.1",
  28. "@vercel/analytics": "^0.1.11",
  29. "@vercel/speed-insights": "^1.0.2",
  30. "antd": "^5.25.0",
  31. "axios": "^1.7.7",
  32. "dayjs": "^1.11.12",
  33. "emoji-picker-react": "^4.9.2",
  34. "fuse.js": "^7.0.0",
  35. "heic2any": "^0.0.4",
  36. "html-to-image": "^1.11.11",
  37. "js-export-excel": "^1.1.4",
  38. "lodash-es": "^4.17.21",
  39. "mermaid": "^10.6.1",
  40. "nanoid": "^5.0.3",
  41. "next": "^14.1.1",
  42. "node-fetch": "^3.3.1",
  43. "react": "^18.2.0",
  44. "react-dom": "^18.2.0",
  45. "react-markdown": "^8.0.7",
  46. "react-router-dom": "^6.15.0",
  47. "rehype-highlight": "^6.0.0",
  48. "rehype-katex": "^6.0.3",
  49. "remark-breaks": "^3.0.2",
  50. "remark-gfm": "^3.0.1",
  51. "remark-math": "^5.1.1",
  52. "sass": "^1.59.2",
  53. "sharp": "^0.33.5",
  54. "spark-md5": "^3.0.2",
  55. "use-debounce": "^9.0.4",
  56. "zustand": "^4.3.8"
  57. },
  58. "devDependencies": {
  59. "@tauri-apps/cli": "1.5.11",
  60. "@types/lodash-es": "^4.17.12",
  61. "@types/node": "^20.11.30",
  62. "@types/react": "^18.2.70",
  63. "@types/react-dom": "^18.2.7",
  64. "@types/react-katex": "^3.0.0",
  65. "@types/spark-md5": "^3.0.4",
  66. "concurrently": "^8.2.2",
  67. "cross-env": "^7.0.3",
  68. "husky": "^8.0.0",
  69. "lint-staged": "^13.2.2",
  70. "tsx": "^4.16.0",
  71. "typescript": "5.2.2",
  72. "watch": "^1.0.2",
  73. "webpack": "^5.88.1"
  74. },
  75. "resolutions": {
  76. "lint-staged/yaml": "^2.2.2"
  77. },
  78. "packageManager": "yarn@1.22.19"
  79. }