package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "dify-web",
  3. "version": "0.3.28",
  4. "private": true,
  5. "scripts": {
  6. "dev": "next dev",
  7. "build": "next build",
  8. "start": "cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js",
  9. "lint": "next lint",
  10. "fix": "next lint --fix",
  11. "eslint-fix": "eslint --fix",
  12. "prepare": "cd ../ && node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install ./web/.husky",
  13. "gen-icons": "node ./app/components/base/icons/script.js",
  14. "uglify-embed": "node ./bin/uglify-embed"
  15. },
  16. "dependencies": {
  17. "@babel/runtime": "^7.22.3",
  18. "@emoji-mart/data": "^1.1.2",
  19. "@floating-ui/react": "^0.25.2",
  20. "@formatjs/intl-localematcher": "^0.2.32",
  21. "@headlessui/react": "^1.7.13",
  22. "@heroicons/react": "^2.0.16",
  23. "@lexical/react": "^0.12.2",
  24. "@mdx-js/loader": "^2.3.0",
  25. "@mdx-js/react": "^2.3.0",
  26. "@next/mdx": "^13.2.4",
  27. "@sentry/react": "^7.54.0",
  28. "@sentry/utils": "^7.54.0",
  29. "@tailwindcss/line-clamp": "^0.4.4",
  30. "@tailwindcss/typography": "^0.5.9",
  31. "ahooks": "^3.7.5",
  32. "classnames": "^2.3.2",
  33. "copy-to-clipboard": "^3.3.3",
  34. "crypto-js": "^4.1.1",
  35. "dayjs": "^1.11.7",
  36. "echarts": "^5.4.1",
  37. "echarts-for-react": "^3.0.2",
  38. "emoji-mart": "^5.5.2",
  39. "i18next": "^22.4.13",
  40. "i18next-resources-to-backend": "^1.1.3",
  41. "immer": "^9.0.19",
  42. "js-audio-recorder": "^1.0.7",
  43. "js-cookie": "^3.0.1",
  44. "katex": "^0.16.7",
  45. "lamejs": "1.2.0",
  46. "lexical": "^0.12.2",
  47. "lodash-es": "^4.17.21",
  48. "mermaid": "10.4.0",
  49. "negotiator": "^0.6.3",
  50. "next": "13.3.1",
  51. "qrcode.react": "^3.1.0",
  52. "qs": "^6.11.1",
  53. "react": "^18.2.0",
  54. "react-18-input-autosize": "^3.0.0",
  55. "react-dom": "^18.2.0",
  56. "react-error-boundary": "^4.0.2",
  57. "react-headless-pagination": "^1.1.4",
  58. "react-i18next": "^12.2.0",
  59. "react-infinite-scroll-component": "^6.1.0",
  60. "react-markdown": "^8.0.6",
  61. "react-multi-email": "^1.0.14",
  62. "react-papaparse": "^4.1.0",
  63. "react-slider": "^2.0.4",
  64. "react-sortablejs": "^6.1.4",
  65. "react-syntax-highlighter": "^15.5.0",
  66. "react-tooltip": "5.8.3",
  67. "react-window": "^1.8.9",
  68. "react-window-infinite-loader": "^1.0.9",
  69. "recordrtc": "^5.6.2",
  70. "rehype-katex": "^6.0.2",
  71. "remark-breaks": "^3.0.2",
  72. "remark-gfm": "^3.0.1",
  73. "remark-math": "^5.1.1",
  74. "scheduler": "^0.23.0",
  75. "server-only": "^0.0.1",
  76. "sortablejs": "^1.15.0",
  77. "swr": "^2.1.0",
  78. "use-context-selector": "^1.4.1"
  79. },
  80. "devDependencies": {
  81. "@antfu/eslint-config": "^0.36.0",
  82. "@faker-js/faker": "^7.6.0",
  83. "@rgrove/parse-xml": "^4.1.0",
  84. "@types/crypto-js": "^4.1.1",
  85. "@types/js-cookie": "^3.0.3",
  86. "@types/lodash-es": "^4.17.7",
  87. "@types/negotiator": "^0.6.1",
  88. "@types/node": "18.15.0",
  89. "@types/qs": "^6.9.7",
  90. "@types/react": "18.0.28",
  91. "@types/react-dom": "18.0.11",
  92. "@types/react-slider": "^1.3.1",
  93. "@types/react-syntax-highlighter": "^15.5.6",
  94. "@types/react-window": "^1.8.5",
  95. "@types/react-window-infinite-loader": "^1.0.6",
  96. "@types/recordrtc": "^5.6.11",
  97. "@types/sortablejs": "^1.15.1",
  98. "autoprefixer": "^10.4.14",
  99. "cross-env": "^7.0.3",
  100. "eslint": "8.36.0",
  101. "eslint-config-next": "^13.4.7",
  102. "husky": "^8.0.3",
  103. "lint-staged": "^13.2.2",
  104. "miragejs": "^0.1.47",
  105. "postcss": "^8.4.21",
  106. "sass": "^1.61.0",
  107. "tailwindcss": "^3.3.3",
  108. "typescript": "4.9.5",
  109. "uglify-js": "^3.17.4"
  110. },
  111. "lint-staged": {
  112. "**/*.js?(x)": [
  113. "eslint --fix"
  114. ],
  115. "**/*.ts?(x)": [
  116. "eslint --fix"
  117. ]
  118. }
  119. }