package.json 2.7 KB

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