[d565449] | 1 | {
|
---|
| 2 | "name": "@vitejs/plugin-react",
|
---|
| 3 | "version": "4.3.1",
|
---|
| 4 | "license": "MIT",
|
---|
| 5 | "author": "Evan You",
|
---|
| 6 | "contributors": [
|
---|
| 7 | "Alec Larson",
|
---|
| 8 | "Arnaud Barré"
|
---|
| 9 | ],
|
---|
| 10 | "files": [
|
---|
| 11 | "dist"
|
---|
| 12 | ],
|
---|
| 13 | "main": "./dist/index.cjs",
|
---|
| 14 | "module": "./dist/index.mjs",
|
---|
| 15 | "types": "./dist/index.d.ts",
|
---|
| 16 | "exports": {
|
---|
| 17 | ".": {
|
---|
| 18 | "import": "./dist/index.mjs",
|
---|
| 19 | "require": "./dist/index.cjs"
|
---|
| 20 | }
|
---|
| 21 | },
|
---|
| 22 | "scripts": {
|
---|
| 23 | "dev": "unbuild --stub",
|
---|
| 24 | "build": "unbuild && pnpm run patch-cjs && tsx scripts/copyRefreshUtils.ts",
|
---|
| 25 | "patch-cjs": "tsx ../../scripts/patchCJS.ts",
|
---|
| 26 | "prepublishOnly": "npm run build"
|
---|
| 27 | },
|
---|
| 28 | "engines": {
|
---|
| 29 | "node": "^14.18.0 || >=16.0.0"
|
---|
| 30 | },
|
---|
| 31 | "repository": {
|
---|
| 32 | "type": "git",
|
---|
| 33 | "url": "git+https://github.com/vitejs/vite-plugin-react.git",
|
---|
| 34 | "directory": "packages/plugin-react"
|
---|
| 35 | },
|
---|
| 36 | "bugs": {
|
---|
| 37 | "url": "https://github.com/vitejs/vite-plugin-react/issues"
|
---|
| 38 | },
|
---|
| 39 | "homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme",
|
---|
| 40 | "dependencies": {
|
---|
| 41 | "@babel/core": "^7.24.5",
|
---|
| 42 | "@babel/plugin-transform-react-jsx-self": "^7.24.5",
|
---|
| 43 | "@babel/plugin-transform-react-jsx-source": "^7.24.1",
|
---|
| 44 | "@types/babel__core": "^7.20.5",
|
---|
| 45 | "react-refresh": "^0.14.2"
|
---|
| 46 | },
|
---|
| 47 | "peerDependencies": {
|
---|
| 48 | "vite": "^4.2.0 || ^5.0.0"
|
---|
| 49 | },
|
---|
| 50 | "devDependencies": {
|
---|
| 51 | "unbuild": "^2.0.0"
|
---|
| 52 | }
|
---|
| 53 | }
|
---|