package.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. {
  2. "name": "智脑网络云平台",
  3. "version": "0.13.0",
  4. "private": true,
  5. "engines": {
  6. "node": ">=18.17.0"
  7. },
  8. "scripts": {
  9. "dev": "next dev",
  10. "build": "next build",
  11. "start": "xcopy .next\\static .next\\standalone\\.next\\static /E /I && xcopy public .next\\standalone\\public /E /I && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next\\standalone\\server.js",
  12. "lint": "next lint",
  13. "fix": "next lint --fix",
  14. "eslint-fix": "eslint --fix",
  15. "prepare": "cd ../ && node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install ./web/.husky",
  16. "gen-icons": "node ./app/components/base/icons/script.js",
  17. "uglify-embed": "node ./bin/uglify-embed",
  18. "check-i18n": "node ./i18n/check-i18n.js",
  19. "auto-gen-i18n": "node ./i18n/auto-gen-i18n.js",
  20. "test": "jest",
  21. "test:watch": "jest --watch",
  22. "storybook": "storybook dev -p 6006",
  23. "build-storybook": "storybook build"
  24. },
  25. "dependencies": {
  26. "@babel/runtime": "^7.22.3",
  27. "@dagrejs/dagre": "^1.1.2",
  28. "@emoji-mart/data": "^1.1.2",
  29. "@floating-ui/react": "^0.25.2",
  30. "@formatjs/intl-localematcher": "^0.5.4",
  31. "@headlessui/react": "^1.7.13",
  32. "@heroicons/react": "^2.0.16",
  33. "@hookform/resolvers": "^3.3.4",
  34. "@lexical/react": "^0.16.0",
  35. "@mdx-js/loader": "^2.3.0",
  36. "@mdx-js/react": "^2.3.0",
  37. "@monaco-editor/react": "^4.6.0",
  38. "@next/mdx": "^14.0.4",
  39. "@remixicon/react": "^4.2.0",
  40. "@sentry/react": "^7.54.0",
  41. "@sentry/utils": "^7.54.0",
  42. "@svgdotjs/svg.js": "^3.2.4",
  43. "@tailwindcss/line-clamp": "^0.4.4",
  44. "@tailwindcss/typography": "^0.5.9",
  45. "@tanstack/react-query": "^5.60.5",
  46. "@tanstack/react-query-devtools": "^5.60.5",
  47. "ahooks": "^3.7.5",
  48. "class-variance-authority": "^0.7.0",
  49. "classnames": "^2.3.2",
  50. "copy-to-clipboard": "^3.3.3",
  51. "crypto-js": "^4.2.0",
  52. "dayjs": "^1.11.7",
  53. "echarts": "^5.4.1",
  54. "echarts-for-react": "^3.0.2",
  55. "emoji-mart": "^5.5.2",
  56. "fast-deep-equal": "^3.1.3",
  57. "i18next": "^22.4.13",
  58. "i18next-resources-to-backend": "^1.1.3",
  59. "immer": "^9.0.19",
  60. "js-audio-recorder": "^1.0.7",
  61. "js-cookie": "^3.0.1",
  62. "jwt-decode": "^4.0.0",
  63. "katex": "^0.16.10",
  64. "lamejs": "^1.2.1",
  65. "lexical": "^0.16.0",
  66. "lodash-es": "^4.17.21",
  67. "mermaid": "10.9.3",
  68. "mime": "^4.0.4",
  69. "negotiator": "^0.6.3",
  70. "next": "^14.2.10",
  71. "pinyin-pro": "^3.23.0",
  72. "qrcode.react": "^3.1.0",
  73. "qs": "^6.11.1",
  74. "rc-textarea": "^1.5.2",
  75. "react": "~18.2.0",
  76. "react-18-input-autosize": "^3.0.0",
  77. "react-dom": "~18.2.0",
  78. "react-easy-crop": "^5.0.8",
  79. "react-error-boundary": "^4.0.2",
  80. "react-hook-form": "^7.51.4",
  81. "react-i18next": "^12.2.0",
  82. "react-infinite-scroll-component": "^6.1.0",
  83. "react-markdown": "^8.0.6",
  84. "react-multi-email": "^1.0.14",
  85. "react-papaparse": "^4.1.0",
  86. "react-slider": "^2.0.4",
  87. "react-sortablejs": "^6.1.4",
  88. "react-syntax-highlighter": "^15.5.0",
  89. "react-tooltip": "5.8.3",
  90. "react-window": "^1.8.9",
  91. "react-window-infinite-loader": "^1.0.9",
  92. "reactflow": "^11.11.3",
  93. "recordrtc": "^5.6.2",
  94. "rehype-katex": "^6.0.2",
  95. "rehype-raw": "^7.0.0",
  96. "remark-breaks": "^3.0.2",
  97. "remark-gfm": "^3.0.1",
  98. "remark-math": "^5.1.1",
  99. "scheduler": "^0.23.0",
  100. "server-only": "^0.0.1",
  101. "sharp": "^0.33.2",
  102. "sortablejs": "^1.15.0",
  103. "swr": "^2.1.0",
  104. "tailwind-merge": "^2.4.0",
  105. "use-context-selector": "^1.4.1",
  106. "uuid": "^9.0.1",
  107. "zod": "^3.23.6",
  108. "zundo": "^2.1.0",
  109. "zustand": "^4.5.2"
  110. },
  111. "devDependencies": {
  112. "@antfu/eslint-config": "^0.36.0",
  113. "@chromatic-com/storybook": "^1.9.0",
  114. "@faker-js/faker": "^7.6.0",
  115. "@rgrove/parse-xml": "^4.1.0",
  116. "@storybook/addon-essentials": "^8.3.5",
  117. "@storybook/addon-interactions": "^8.3.5",
  118. "@storybook/addon-links": "^8.3.5",
  119. "@storybook/addon-onboarding": "^8.3.5",
  120. "@storybook/addon-themes": "^8.3.5",
  121. "@storybook/blocks": "^8.3.5",
  122. "@storybook/nextjs": "^8.3.5",
  123. "@storybook/react": "^8.3.5",
  124. "@storybook/test": "^8.3.5",
  125. "@testing-library/dom": "^10.3.2",
  126. "@testing-library/jest-dom": "^6.4.6",
  127. "@testing-library/react": "^16.0.0",
  128. "@types/crypto-js": "^4.1.1",
  129. "@types/dagre": "^0.7.52",
  130. "@types/jest": "^29.5.12",
  131. "@types/js-cookie": "^3.0.3",
  132. "@types/lodash-es": "^4.17.7",
  133. "@types/negotiator": "^0.6.1",
  134. "@types/node": "18.15.0",
  135. "@types/qs": "^6.9.7",
  136. "@types/react": "~18.2.0",
  137. "@types/react-dom": "~18.2.0",
  138. "@types/react-slider": "^1.3.1",
  139. "@types/react-syntax-highlighter": "^15.5.6",
  140. "@types/react-window": "^1.8.5",
  141. "@types/react-window-infinite-loader": "^1.0.6",
  142. "@types/recordrtc": "^5.6.11",
  143. "@types/sortablejs": "^1.15.1",
  144. "@types/uuid": "^9.0.8",
  145. "autoprefixer": "^10.4.14",
  146. "bing-translate-api": "^4.0.2",
  147. "code-inspector-plugin": "^0.13.0",
  148. "cross-env": "^7.0.3",
  149. "eslint": "^8.36.0",
  150. "eslint-config-next": "^14.0.4",
  151. "eslint-plugin-storybook": "^0.9.0",
  152. "husky": "^8.0.3",
  153. "jest": "^29.7.0",
  154. "jest-environment-jsdom": "^29.7.0",
  155. "lint-staged": "^13.2.2",
  156. "magicast": "^0.3.4",
  157. "postcss": "^8.4.31",
  158. "sass": "^1.61.0",
  159. "storybook": "^8.3.5",
  160. "tailwindcss": "^3.4.4",
  161. "ts-node": "^10.9.2",
  162. "typescript": "4.9.5",
  163. "uglify-js": "^3.17.4"
  164. },
  165. "resolutions": {
  166. "@types/react": "~18.2.0",
  167. "@types/react-dom": "~18.2.0",
  168. "string-width": "4.2.3"
  169. },
  170. "lint-staged": {
  171. "**/*.js?(x)": [
  172. "eslint --fix"
  173. ],
  174. "**/*.ts?(x)": [
  175. "eslint --fix"
  176. ]
  177. }
  178. }