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.

32 lines
834 B

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. "react": "^18.2.0",
  18. "react-dom": "^18.2.0",
  19. "react-router-dom": "^6.15.0"
  20. },
  21. "devDependencies": {
  22. "@types/react": "^18.2.15",
  23. "@types/react-dom": "^18.2.7",
  24. "@vitejs/plugin-react": "^4.0.3",
  25. "eslint": "^8.45.0",
  26. "eslint-plugin-react": "^7.32.2",
  27. "eslint-plugin-react-hooks": "^4.6.0",
  28. "eslint-plugin-react-refresh": "^0.4.3",
  29. "prettier": "^3.0.2",
  30. "vite": "^4.4.5"
  31. }
  32. }