package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "@vitejs/plugin-react",
  3. "version": "4.7.0",
  4. "license": "MIT",
  5. "author": "Evan You",
  6. "description": "The default Vite plugin for React projects",
  7. "keywords": [
  8. "vite",
  9. "vite-plugin",
  10. "react",
  11. "babel",
  12. "react-refresh",
  13. "fast refresh"
  14. ],
  15. "contributors": [
  16. "Alec Larson",
  17. "Arnaud Barré"
  18. ],
  19. "files": [
  20. "dist"
  21. ],
  22. "type": "module",
  23. "main": "./dist/index.cjs",
  24. "module": "./dist/index.js",
  25. "types": "./dist/index.d.ts",
  26. "exports": {
  27. ".": {
  28. "import": "./dist/index.js",
  29. "require": "./dist/index.cjs"
  30. }
  31. },
  32. "scripts": {
  33. "dev": "tsdown --watch",
  34. "build": "tsdown",
  35. "prepublishOnly": "npm run build",
  36. "test-unit": "vitest run"
  37. },
  38. "engines": {
  39. "node": "^14.18.0 || >=16.0.0"
  40. },
  41. "repository": {
  42. "type": "git",
  43. "url": "git+https://github.com/vitejs/vite-plugin-react.git",
  44. "directory": "packages/plugin-react"
  45. },
  46. "bugs": {
  47. "url": "https://github.com/vitejs/vite-plugin-react/issues"
  48. },
  49. "homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme",
  50. "dependencies": {
  51. "@babel/core": "^7.28.0",
  52. "@babel/plugin-transform-react-jsx-self": "^7.27.1",
  53. "@babel/plugin-transform-react-jsx-source": "^7.27.1",
  54. "@rolldown/pluginutils": "1.0.0-beta.27",
  55. "@types/babel__core": "^7.20.5",
  56. "react-refresh": "^0.17.0"
  57. },
  58. "peerDependencies": {
  59. "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
  60. },
  61. "devDependencies": {
  62. "@vitejs/react-common": "workspace:*",
  63. "babel-plugin-react-compiler": "19.1.0-rc.2",
  64. "react": "^19.1.0",
  65. "react-dom": "^19.1.0",
  66. "rolldown": "1.0.0-beta.27",
  67. "tsdown": "^0.12.9",
  68. "vitest": "^3.2.4"
  69. }
  70. }