mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 02:33:02 +00:00
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"name": "@vitejs/plugin-react",
|
|
"version": "5.1.3",
|
|
"description": "The default Vite plugin for React projects",
|
|
"keywords": [
|
|
"babel",
|
|
"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",
|
|
"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": {
|
|
"@babel/core": "^7.29.0",
|
|
"@babel/plugin-transform-react-jsx-self": "^7.27.1",
|
|
"@babel/plugin-transform-react-jsx-source": "^7.27.1",
|
|
"@rolldown/pluginutils": "1.0.0-rc.2",
|
|
"@types/babel__core": "^7.20.5",
|
|
"react-refresh": "^0.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/react-common": "workspace:*",
|
|
"babel-plugin-react-compiler": "19.1.0-rc.3",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"rolldown": "1.0.0-rc.2",
|
|
"tsdown": "^0.20.1"
|
|
},
|
|
"peerDependencies": {
|
|
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|