package.json 2.5 KB

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