react + vite 项目模版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
885 B

2 years ago
2 years ago
2 years ago
  1. {
  2. "name": "react-vite-template",
  3. "private": true,
  4. "version": "0.0.0",
  5. "type": "module",
  6. "scripts": {
  7. "dev": "vite --mode dev",
  8. "prod": "vite --mode prod",
  9. "build": "vite build",
  10. "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
  11. "preview": "vite preview"
  12. },
  13. "dependencies": {
  14. "antd": "^5.8.4",
  15. "axios": "^1.4.0",
  16. "less": "^4.2.0",
  17. "mobx": "^6.10.0",
  18. "mobx-react": "^9.0.0",
  19. "react": "^18.2.0",
  20. "react-dom": "^18.2.0",
  21. "react-router-dom": "^6.15.0"
  22. },
  23. "devDependencies": {
  24. "@types/react": "^18.2.15",
  25. "@types/react-dom": "^18.2.7",
  26. "@vitejs/plugin-react": "^4.0.3",
  27. "eslint": "^8.45.0",
  28. "eslint-plugin-react": "^7.32.2",
  29. "eslint-plugin-react-hooks": "^4.6.0",
  30. "eslint-plugin-react-refresh": "^0.4.3",
  31. "prettier": "^3.0.2",
  32. "vite": "^4.4.5"
  33. }
  34. }