package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "dify-web",
  3. "version": "0.3.1",
  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. },
  14. "dependencies": {
  15. "@babel/runtime": "^7.22.3",
  16. "@emoji-mart/data": "^1.1.2",
  17. "@formatjs/intl-localematcher": "^0.2.32",
  18. "@headlessui/react": "^1.7.13",
  19. "@heroicons/react": "^2.0.16",
  20. "@mdx-js/loader": "^2.3.0",
  21. "@mdx-js/react": "^2.3.0",
  22. "@next/mdx": "^13.2.4",
  23. "@sentry/nextjs": "^7.53.1",
  24. "@sentry/utils": "^7.54.0",
  25. "@tailwindcss/line-clamp": "^0.4.2",
  26. "@types/crypto-js": "^4.1.1",
  27. "@types/lodash-es": "^4.17.7",
  28. "@types/node": "18.15.0",
  29. "@types/react": "18.0.28",
  30. "@types/react-dom": "18.0.11",
  31. "@types/react-slider": "^1.3.1",
  32. "@types/react-syntax-highlighter": "^15.5.6",
  33. "@types/react-window": "^1.8.5",
  34. "@types/react-window-infinite-loader": "^1.0.6",
  35. "ahooks": "^3.7.5",
  36. "classnames": "^2.3.2",
  37. "copy-to-clipboard": "^3.3.3",
  38. "crypto-js": "^4.1.1",
  39. "dayjs": "^1.11.7",
  40. "echarts": "^5.4.1",
  41. "echarts-for-react": "^3.0.2",
  42. "emoji-mart": "^5.5.2",
  43. "eslint": "8.36.0",
  44. "eslint-config-next": "13.2.4",
  45. "i18next": "^22.4.13",
  46. "i18next-resources-to-backend": "^1.1.3",
  47. "immer": "^9.0.19",
  48. "js-cookie": "^3.0.1",
  49. "katex": "^0.16.7",
  50. "lodash-es": "^4.17.21",
  51. "negotiator": "^0.6.3",
  52. "next": "13.2.4",
  53. "qs": "^6.11.1",
  54. "react": "18.2.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-slider": "^2.0.4",
  62. "react-syntax-highlighter": "^15.5.0",
  63. "react-tooltip": "5.8.3",
  64. "react-window": "^1.8.9",
  65. "react-window-infinite-loader": "^1.0.9",
  66. "rehype-katex": "^6.0.2",
  67. "remark-breaks": "^3.0.2",
  68. "remark-gfm": "^3.0.1",
  69. "remark-math": "^5.1.1",
  70. "sass": "^1.61.0",
  71. "scheduler": "^0.23.0",
  72. "server-only": "^0.0.1",
  73. "swr": "^2.1.0",
  74. "typescript": "4.9.5",
  75. "use-context-selector": "^1.4.1"
  76. },
  77. "devDependencies": {
  78. "@antfu/eslint-config": "^0.36.0",
  79. "@faker-js/faker": "^7.6.0",
  80. "@tailwindcss/typography": "^0.5.9",
  81. "@types/js-cookie": "^3.0.3",
  82. "@types/negotiator": "^0.6.1",
  83. "@types/qs": "^6.9.7",
  84. "autoprefixer": "^10.4.14",
  85. "eslint-plugin-react-hooks": "^4.6.0",
  86. "husky": "^8.0.3",
  87. "lint-staged": "^13.2.2",
  88. "miragejs": "^0.1.47",
  89. "postcss": "^8.4.21",
  90. "tailwindcss": "^3.2.7"
  91. },
  92. "lint-staged": {
  93. "**/*.js?(x)": [
  94. "eslint --fix"
  95. ],
  96. "**/*.ts?(x)": [
  97. "eslint --fix"
  98. ]
  99. }
  100. }