package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "react-template",
  3. "version": "0.1.0",
  4. "private": true,
  5. "type": "module",
  6. "dependencies": {
  7. "@douyinfe/semi-icons": "^2.63.1",
  8. "@douyinfe/semi-ui": "^2.69.1",
  9. "@lobehub/icons": "^2.0.0",
  10. "@monaco-editor/react": "^4.7.0",
  11. "@visactor/react-vchart": "~1.8.8",
  12. "@visactor/vchart": "~1.8.8",
  13. "@visactor/vchart-semi-theme": "~1.8.8",
  14. "axios": "1.13.5",
  15. "clsx": "^2.1.1",
  16. "dayjs": "^1.11.11",
  17. "history": "^5.3.0",
  18. "i18next": "^23.16.8",
  19. "i18next-browser-languagedetector": "^7.2.0",
  20. "katex": "^0.16.22",
  21. "lucide-react": "^0.511.0",
  22. "marked": "^4.1.1",
  23. "mermaid": "^11.6.0",
  24. "monaco-editor": "^0.55.1",
  25. "qrcode.react": "^4.2.0",
  26. "react": "^18.2.0",
  27. "react-dom": "^18.2.0",
  28. "react-dropzone": "^14.2.3",
  29. "react-fireworks": "^1.0.4",
  30. "react-i18next": "^13.0.0",
  31. "react-icons": "^5.5.0",
  32. "react-markdown": "^10.1.0",
  33. "react-router-dom": "^6.3.0",
  34. "react-telegram-login": "^1.1.2",
  35. "react-toastify": "^9.0.8",
  36. "react-turnstile": "^1.0.5",
  37. "rehype-highlight": "^7.0.2",
  38. "rehype-katex": "^7.0.1",
  39. "remark-breaks": "^4.0.0",
  40. "remark-gfm": "^4.0.1",
  41. "remark-math": "^6.0.0",
  42. "sse.js": "^2.6.0",
  43. "unist-util-visit": "^5.0.0",
  44. "use-debounce": "^10.0.4"
  45. },
  46. "scripts": {
  47. "dev": "vite",
  48. "build": "vite build",
  49. "lint": "prettier . --check",
  50. "lint:fix": "prettier . --write",
  51. "eslint": "bunx eslint \"**/*.{js,jsx}\" --cache",
  52. "eslint:fix": "bunx eslint \"**/*.{js,jsx}\" --fix --cache",
  53. "preview": "vite preview",
  54. "i18n:extract": "bunx i18next-cli extract",
  55. "i18n:status": "bunx i18next-cli status",
  56. "i18n:sync": "bunx i18next-cli sync",
  57. "i18n:lint": "bunx i18next-cli lint"
  58. },
  59. "eslintConfig": {
  60. "extends": [
  61. "react-app",
  62. "react-app/jest"
  63. ]
  64. },
  65. "browserslist": {
  66. "production": [
  67. ">0.2%",
  68. "not dead",
  69. "not op_mini all"
  70. ],
  71. "development": [
  72. "last 1 chrome version",
  73. "last 1 firefox version",
  74. "last 1 safari version"
  75. ]
  76. },
  77. "devDependencies": {
  78. "@douyinfe/vite-plugin-semi": "^2.74.0-alpha.6",
  79. "@so1ve/prettier-config": "^3.1.0",
  80. "@vitejs/plugin-react": "^4.2.1",
  81. "autoprefixer": "^10.4.21",
  82. "code-inspector-plugin": "^1.3.3",
  83. "eslint": "8.57.0",
  84. "eslint-plugin-header": "^3.1.1",
  85. "eslint-plugin-react-hooks": "^5.2.0",
  86. "i18next-cli": "^1.10.3",
  87. "postcss": "^8.5.3",
  88. "prettier": "^3.0.0",
  89. "tailwindcss": "^3",
  90. "typescript": "4.4.2",
  91. "vite": "^5.2.0"
  92. },
  93. "prettier": {
  94. "singleQuote": true,
  95. "jsxSingleQuote": true
  96. },
  97. "proxy": "http://localhost:3000"
  98. }