package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "name": "db-gpt-web",
  3. "version": "0.1.0",
  4. "private": true,
  5. "description": "DB-GPT WebUI",
  6. "main": "next.config.js",
  7. "directories": {
  8. "lib": "lib"
  9. },
  10. "author": "",
  11. "license": "ISC",
  12. "repository": "https://github.com/eosphoros-ai/DB-GPT-Web.git",
  13. "scripts": {
  14. "start": "NODE_OPTIONS=--max_old_space_size=8192 next start",
  15. "dev": "set NODE_OPTIONS=--max_old_space_size=8192 && next dev",
  16. "build": "NODE_OPTIONS=--max_old_space_size=8192 next build",
  17. "build:prod": "APP_ENV=prod NODE_OPTIONS=--max_old_space_size=8192 next build",
  18. "lint": "eslint '**/*.{ts,tsx}' --fix",
  19. "format": "prettier --write '**/*.{ts,tsx}'",
  20. "export": "next export",
  21. "compile": " NODE_OPTIONS=--max_old_space_size=8192 next build && next export"
  22. },
  23. "dependencies": {
  24. "@ant-design/cssinjs": "^1.18.4",
  25. "@ant-design/icons": "^5.2.5",
  26. "@antv/algorithm": "^0.1.26",
  27. "@antv/ava": "3.5.0-alpha.4",
  28. "@antv/g2": "^5.1.8",
  29. "@antv/g6": "^5.0.17",
  30. "@antv/gpt-vis": "^0.0.5",
  31. "@antv/graphin": "^3.0.2",
  32. "@antv/s2": "^1.51.2",
  33. "@berryv/g2-react": "^0.1.0",
  34. "@emotion/react": "^11.11.4",
  35. "@emotion/styled": "^11.11.5",
  36. "@microsoft/fetch-event-source": "^2.0.1",
  37. "@monaco-editor/react": "^4.5.2",
  38. "@mui/icons-material": "^5.11.16",
  39. "@mui/joy": "5.0.0-beta.5",
  40. "@mui/material": "^5.15.20",
  41. "@oceanbase-odc/monaco-plugin-ob": "^1.0.3",
  42. "@types/react-virtualized": "^9.21.29",
  43. "@uiw/react-json-view": "^2.0.0-alpha.23",
  44. "ahooks": "^3.7.8",
  45. "antd": "^5.10.0",
  46. "axios": "^1.3.4",
  47. "classnames": "^2.3.2",
  48. "cookies-next": "^4.0.0",
  49. "copy-to-clipboard": "^3.3.3",
  50. "cytoscape": "^3.29.2",
  51. "cytoscape-euler": "^1.2.2",
  52. "dayjs": "^1.11.12",
  53. "eslint-plugin-prettier": "^5.2.1",
  54. "framer-motion": "^10.16.4",
  55. "google-auth-library": "^9.2.0",
  56. "google-one-tap": "^1.0.6",
  57. "i18next": "^23.4.5",
  58. "iron-session": "^6.3.1",
  59. "lodash": "^4.17.21",
  60. "markdown-it": "^14.1.0",
  61. "moment": "^2.29.4",
  62. "monaco-editor": ">=0.31.0",
  63. "multer": "^1.4.5-lts.1",
  64. "mysql2": "^3.6.2",
  65. "next": "^13.4.7",
  66. "next-auth": "^4.20.1",
  67. "next-connect": "^1.0.0-next.4",
  68. "next-transpile-modules": "^10.0.1",
  69. "nprogress": "^0.2.0",
  70. "react": "^18.3.1",
  71. "react-dom": "^18.3.1",
  72. "react-i18next": "^13.2.0",
  73. "react-markdown-editor-lite": "^1.3.4",
  74. "react-syntax-highlighter": "^15.5.0",
  75. "react-virtualized": "^9.22.5",
  76. "reactflow": "^11.10.3",
  77. "rehype-raw": "^7.0.0",
  78. "remark-gfm": "^4.0.0",
  79. "sequelize": "^6.33.0",
  80. "sql-formatter": "^12.2.4",
  81. "tailwindcss": "3.3.2",
  82. "tailwindcss-animated": "^1.0.1",
  83. "typescript": "5.1.3"
  84. },
  85. "devDependencies": {
  86. "@types/crypto-js": "^4.1.2",
  87. "@types/google-one-tap": "^1.2.4",
  88. "@types/lodash": "^4.14.195",
  89. "@types/markdown-it": "^14.1.1",
  90. "@types/node": "20.5.7",
  91. "@types/node-localstorage": "^1.3.2",
  92. "@types/nprogress": "^0.2.0",
  93. "@types/react": "18.2.14",
  94. "@types/react-dom": "18.2.6",
  95. "@types/react-syntax-highlighter": "^15.5.7",
  96. "@types/uuid": "^9.0.8",
  97. "@typescript-eslint/eslint-plugin": "^8.3.0",
  98. "@typescript-eslint/parser": "^8.3.0",
  99. "autoprefixer": "10.4.14",
  100. "copy-webpack-plugin": "^12.0.2",
  101. "eslint": "8.57.0",
  102. "eslint-config-next": "13.4.7",
  103. "eslint-config-prettier": "^9.1.0",
  104. "eslint-import-resolver-typescript": "^3.6.3",
  105. "husky": "^9.1.5",
  106. "lint-staged": "^15.2.9",
  107. "monaco-editor-webpack-plugin": "^7.1.0",
  108. "prettier": "^3.3.3",
  109. "prettier-plugin-organize-imports": "^4.0.0",
  110. "prettier-plugin-packagejson": "^2.5.2"
  111. },
  112. "lint-staged": {
  113. "*.{js,jsx,ts,tsx}": [
  114. "eslint --fix",
  115. "prettier --write"
  116. ],
  117. "*.{json,md}": [
  118. "prettier --write"
  119. ]
  120. },
  121. "resolutions": {
  122. "d3-color": "2",
  123. "d3-array": "2",
  124. "d3-shape": "2",
  125. "d3-path": "2",
  126. "d3-dsv": "2",
  127. "d3-hierarchy": "2",
  128. "d3-scale-chromatic": "2",
  129. "d3-format": "2",
  130. "d3-timer": "2",
  131. "d3-dispatch": "2",
  132. "d3-quadtree": "2",
  133. "d3-force": "2",
  134. "d3-geo": "2"
  135. }
  136. }