package.json 2.6 KB

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