| { |
| "name": "@vitejs/plugin-react", |
| "version": "6.0.1", |
| "description": "The default Vite plugin for React projects", |
| "keywords": [ |
| "fast refresh", |
| "react", |
| "react-refresh", |
| "vite", |
| "vite-plugin" |
| ], |
| "homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme", |
| "bugs": { |
| "url": "https://github.com/vitejs/vite-plugin-react/issues" |
| }, |
| "license": "MIT", |
| "author": "Evan You", |
| "contributors": [ |
| "Alec Larson", |
| "Arnaud Barré" |
| ], |
| "repository": { |
| "type": "git", |
| "url": "git+https://github.com/vitejs/vite-plugin-react.git", |
| "directory": "packages/plugin-react" |
| }, |
| "files": [ |
| "dist", |
| "types" |
| ], |
| "type": "module", |
| "imports": { |
| "#optionalTypes": "./types/optionalTypes.d.ts" |
| }, |
| "exports": { |
| ".": "./dist/index.js", |
| "./preamble": "./types/preamble.d.ts" |
| }, |
| "scripts": { |
| "dev": "tsdown --watch ./src --watch ../common", |
| "build": "tsdown", |
| "prepublishOnly": "npm run build", |
| "test-unit": "vitest run" |
| }, |
| "dependencies": { |
| "@rolldown/pluginutils": "1.0.0-rc.7" |
| }, |
| "devDependencies": { |
| "@babel/core": "8.0.0-rc.2", |
| "@rolldown/plugin-babel": "^0.2.0", |
| "@vitejs/react-common": "workspace:*", |
| "babel-plugin-react-compiler": "^1.0.0", |
| "react": "^19.2.4", |
| "react-dom": "^19.2.4", |
| "rolldown": "1.0.0-rc.7", |
| "tsdown": "^0.21.0", |
| "vite": "^8.0.0-beta.16" |
| }, |
| "peerDependencies": { |
| "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", |
| "babel-plugin-react-compiler": "^1.0.0", |
| "vite": "^8.0.0" |
| }, |
| "peerDependenciesMeta": { |
| "@rolldown/plugin-babel": { |
| "optional": true |
| }, |
| "babel-plugin-react-compiler": { |
| "optional": true |
| } |
| }, |
| "engines": { |
| "node": "^20.19.0 || >=22.12.0" |
| }, |
| "compatiblePackages": { |
| "schemaVersion": 1, |
| "rolldown": { |
| "type": "compatible", |
| "versions": "^1.0.0-beta.44", |
| "note": "You can use Rolldown's built-in feature directly." |
| }, |
| "rollup": { |
| "type": "incompatible", |
| "reason": "Uses Rolldown-specific APIs or Vite-specific APIs" |
| } |
| } |
| } |
|
|