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