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.

30 lines
789 B

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