package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "dify-web",
  3. "version": "0.3.5",
  4. "private": true,
  5. "scripts": {
  6. "dev": "next dev",
  7. "build": "next build",
  8. "start": "next start",
  9. "lint": "next lint",
  10. "fix": "next lint --fix",
  11. "eslint-fix": "eslint --fix",
  12. "prepare": "cd ../ && husky install ./web/.husky",
  13. "gen-icons": "node ./app/components/base/icons/script.js"
  14. },
  15. "dependencies": {
  16. "@babel/runtime": "^7.22.3",
  17. "@emoji-mart/data": "^1.1.2",
  18. "@formatjs/intl-localematcher": "^0.2.32",
  19. "@headlessui/react": "^1.7.13",
  20. "@heroicons/react": "^2.0.16",
  21. "@mdx-js/loader": "^2.3.0",
  22. "@mdx-js/react": "^2.3.0",
  23. "@next/mdx": "^13.2.4",
  24. "@sentry/react": "^7.54.0",
  25. "@sentry/utils": "^7.54.0",
  26. "@tailwindcss/line-clamp": "^0.4.2",
  27. "@tailwindcss/typography": "^0.5.9",
  28. "@types/crypto-js": "^4.1.1",
  29. "@types/lodash-es": "^4.17.7",
  30. "@types/node": "18.15.0",
  31. "@types/react": "18.0.28",
  32. "@types/react-dom": "18.0.11",
  33. "@types/react-slider": "^1.3.1",
  34. "@types/react-syntax-highlighter": "^15.5.6",
  35. "@types/react-window": "^1.8.5",
  36. "@types/react-window-infinite-loader": "^1.0.6",
  37. "ahooks": "^3.7.5",
  38. "autoprefixer": "^10.4.14",
  39. "classnames": "^2.3.2",
  40. "copy-to-clipboard": "^3.3.3",
  41. "crypto-js": "^4.1.1",
  42. "dayjs": "^1.11.7",
  43. "echarts": "^5.4.1",
  44. "echarts-for-react": "^3.0.2",
  45. "emoji-mart": "^5.5.2",
  46. "eslint": "8.36.0",
  47. "husky": "^8.0.3",
  48. "i18next": "^22.4.13",
  49. "i18next-resources-to-backend": "^1.1.3",
  50. "immer": "^9.0.19",
  51. "js-cookie": "^3.0.1",
  52. "katex": "^0.16.7",
  53. "lodash-es": "^4.17.21",
  54. "negotiator": "^0.6.3",
  55. "next": "^13.4.7",
  56. "qs": "^6.11.1",
  57. "react": "^18.2.0",
  58. "react-dom": "^18.2.0",
  59. "react-error-boundary": "^4.0.2",
  60. "react-headless-pagination": "^1.1.4",
  61. "react-i18next": "^12.2.0",
  62. "react-infinite-scroll-component": "^6.1.0",
  63. "react-markdown": "^8.0.6",
  64. "react-slider": "^2.0.4",
  65. "react-sortablejs": "^6.1.4",
  66. "react-syntax-highlighter": "^15.5.0",
  67. "react-tooltip": "5.8.3",
  68. "react-window": "^1.8.9",
  69. "react-window-infinite-loader": "^1.0.9",
  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. "sass": "^1.61.0",
  75. "scheduler": "^0.23.0",
  76. "server-only": "^0.0.1",
  77. "sortablejs": "^1.15.0",
  78. "swr": "^2.1.0",
  79. "tailwindcss": "^3.2.7",
  80. "typescript": "4.9.5",
  81. "use-context-selector": "^1.4.1"
  82. },
  83. "devDependencies": {
  84. "@antfu/eslint-config": "^0.36.0",
  85. "@faker-js/faker": "^7.6.0",
  86. "@rgrove/parse-xml": "^4.1.0",
  87. "@types/js-cookie": "^3.0.3",
  88. "@types/negotiator": "^0.6.1",
  89. "@types/qs": "^6.9.7",
  90. "@types/sortablejs": "^1.15.1",
  91. "eslint-config-next": "^13.4.7",
  92. "eslint-plugin-react-hooks": "^4.6.0",
  93. "lint-staged": "^13.2.2",
  94. "miragejs": "^0.1.47",
  95. "postcss": "^8.4.21"
  96. },
  97. "lint-staged": {
  98. "**/*.js?(x)": [
  99. "eslint --fix"
  100. ],
  101. "**/*.ts?(x)": [
  102. "eslint --fix"
  103. ]
  104. }
  105. }