{"_id":"@rcdoc/plugin-react","_rev":"1149963","name":"@rcdoc/plugin-react","description":"The all-in-one Vite plugin for React projects.","dist-tags":{"latest":"0.0.6"},"maintainers":[{"name":"sanlang","email":"zhanghuang11211@gmail.com"}],"time":{"modified":"2024-11-08T11:19:54.000Z","created":"2022-04-29T10:04:46.186Z","0.0.6":"2024-03-03T09:12:42.699Z","0.0.5":"2024-03-02T03:23:10.266Z","0.0.4":"2024-02-24T15:22:09.540Z","0.0.3":"2024-02-24T14:59:16.880Z","0.0.2":"2022-04-29T10:11:52.042Z","0.0.1":"2022-04-29T10:04:46.186Z"},"users":{},"author":{"name":"3lang3"},"repository":{"type":"git","url":"git+https://github.com/3lang3/rcdoc.git"},"versions":{"0.0.6":{"name":"@rcdoc/plugin-react","version":"0.0.6","repository":{"type":"git","url":"git+https://github.com/3lang3/rcdoc.git"},"license":"MIT","author":{"name":"3lang3"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"bugs":{"url":"https://github.com/vitejs/vite/issues"},"homepage":"https://github.com/vitejs/vite/tree/main/packages/plugin-react#readme","dependencies":{"@babel/core":"^7.17.9","@babel/plugin-transform-react-jsx":"^7.17.3","@babel/plugin-transform-react-jsx-development":"^7.16.7","@babel/plugin-transform-react-jsx-self":"^7.16.7","@babel/plugin-transform-react-jsx-source":"^7.16.7","@rollup/pluginutils":"^4.2.1","react-refresh":"^0.12.0"},"devDependencies":{"@microsoft/api-extractor":"^7.23.0","@types/node":"^17.0.10","@types/resolve":"^1.20.2","esbuild":"^0.14.21","npm-run-all":"^4.1.5","picocolors":"^1.0.0","resolve":"^1.22.0","rimraf":"^3.0.2","ts-node":"^10.7.0","typescript":"^4.4.4","vite":"^2.9.6"},"scripts":{"dev":"tsc -p . -w --incremental","build":"rimraf dist && run-s build-bundle build-types","build-bundle":"esbuild src/index.ts --bundle --platform=node --target=node12 --external:@babel/* --external:@rollup/* --external:resolve --external:react-refresh/* --outfile=dist/index.js && npm run patch-dist","patch-dist":"ts-node scripts/patchEsbuildDist.ts dist/index.js viteReact","build-types":"tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp"},"description":"The all-in-one Vite plugin for React projects.","_id":"@rcdoc/plugin-react@0.0.6","_integrity":"sha512-keZUbKwESZ97rDikq+Z62hzIqQUHtOY/oNZXBFGZ8e61rxUIP7tuRJesGFqfnY0SIgWL03f5yqaJweTz72Redg==","_resolved":"/private/var/folders/14/6nyqjrgn5k91s5p_7rr26m900000gn/T/5eabe9c1636ec2a23e3c991ae6ea916e/rcdoc-plugin-react-0.0.6.tgz","_from":"file:rcdoc-plugin-react-0.0.6.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-keZUbKwESZ97rDikq+Z62hzIqQUHtOY/oNZXBFGZ8e61rxUIP7tuRJesGFqfnY0SIgWL03f5yqaJweTz72Redg==","shasum":"08fb4c923e61a995d0e6a52ce68c62aaad1b2ab6","tarball":"http://registry-npm.ywwl.com/@rcdoc/plugin-react/download/@rcdoc/plugin-react-0.0.6.tgz","fileCount":12,"unpackedSize":56429,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEn+sOUSiwEAsb9AGKGAiDtRmXZweee+onNZRB54tMtHAiEArYjejYW3cHioa00uBfNWDt7AQ7HB1fjqwKHXBPuu+B4="}],"size":16659,"noattachment":false,"key":"/@rcdoc/plugin-react/-/@rcdoc/plugin-react-0.0.6.tgz"},"_npmUser":{"name":"sanlang","email":"zhanghuang11211@gmail.com"},"directories":{},"maintainers":[{"name":"sanlang","email":"zhanghuang11211@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-react_0.0.6_1709457162538_0.46527553375067643"},"_hasShrinkwrap":false,"publish_time":1709457162699,"_cnpm_publish_time":1709457162699},"0.0.5":{"name":"@rcdoc/plugin-react","version":"0.0.5","repository":{"type":"git","url":"git+https://github.com/3lang3/rcdoc.git","branch":"main","package":"./packages/plugin-react"},"license":"MIT","author":{"name":"3lang3"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"bugs":{"url":"https://github.com/vitejs/vite/issues"},"homepage":"https://github.com/vitejs/vite/tree/main/packages/plugin-react#readme","dependencies":{"@babel/core":"^7.17.9","@babel/plugin-transform-react-jsx":"^7.17.3","@babel/plugin-transform-react-jsx-development":"^7.16.7","@babel/plugin-transform-react-jsx-self":"^7.16.7","@babel/plugin-transform-react-jsx-source":"^7.16.7","@rollup/pluginutils":"^4.2.1","react-refresh":"^0.12.0"},"devDependencies":{"@microsoft/api-extractor":"^7.23.0","@types/node":"^17.0.10","@types/resolve":"^1.20.2","esbuild":"^0.14.21","npm-run-all":"^4.1.5","picocolors":"^1.0.0","resolve":"^1.22.0","rimraf":"^3.0.2","ts-node":"^10.7.0","typescript":"^4.4.4","vite":"^2.9.6"},"scripts":{"dev":"tsc -p . -w --incremental","build":"rimraf dist && run-s build-bundle build-types","build-bundle":"esbuild src/index.ts --bundle --platform=node --target=node12 --external:@babel/* --external:@rollup/* --external:resolve --external:react-refresh/* --outfile=dist/index.js && npm run patch-dist","patch-dist":"ts-node scripts/patchEsbuildDist.ts dist/index.js viteReact","build-types":"tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp"},"description":"The all-in-one Vite plugin for React projects.","_id":"@rcdoc/plugin-react@0.0.5","_integrity":"sha512-IyeQZfUbuq7yyetwe2wolPcFCIlj4MbfbzvWiW4efd4DaG111i48J++8osrkLvBhN1EyhUPNAWJECSAqT5lToQ==","_resolved":"/private/var/folders/14/6nyqjrgn5k91s5p_7rr26m900000gn/T/3969358bfbbe87e135503832e287ceb4/rcdoc-plugin-react-0.0.5.tgz","_from":"file:rcdoc-plugin-react-0.0.5.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-IyeQZfUbuq7yyetwe2wolPcFCIlj4MbfbzvWiW4efd4DaG111i48J++8osrkLvBhN1EyhUPNAWJECSAqT5lToQ==","shasum":"23be27a21a762b47ebe1cd9627ba6c9077fbe86d","tarball":"http://registry-npm.ywwl.com/@rcdoc/plugin-react/download/@rcdoc/plugin-react-0.0.5.tgz","fileCount":12,"unpackedSize":56533,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDU/QQfOQ5mLv6NIKK8gCUfxUyl8dne8mh+mEWcat1LOAiB1SRA+9acdC2vY0sa1gO7BI616NQWw/sYl5J7TJXfPIg=="}],"size":16689,"noattachment":false,"key":"/@rcdoc/plugin-react/-/@rcdoc/plugin-react-0.0.5.tgz"},"_npmUser":{"name":"sanlang","email":"zhanghuang11211@gmail.com"},"directories":{},"maintainers":[{"name":"sanlang","email":"zhanghuang11211@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-react_0.0.5_1709349790105_0.6289230843348239"},"_hasShrinkwrap":false,"publish_time":1709349790266,"_cnpm_publish_time":1709349790266},"0.0.4":{"name":"@rcdoc/plugin-react","version":"0.0.4","repository":{"type":"git","url":"git+https://github.com/3lang3/rcdoc.git","branch":"main","package":"./packages/plugin-react"},"license":"MIT","author":"3lang3","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"bugs":{"url":"https://github.com/vitejs/vite/issues"},"homepage":"https://github.com/vitejs/vite/tree/main/packages/plugin-react#readme","dependencies":{"@babel/core":"^7.17.9","@babel/plugin-transform-react-jsx":"^7.17.3","@babel/plugin-transform-react-jsx-development":"^7.16.7","@babel/plugin-transform-react-jsx-self":"^7.16.7","@babel/plugin-transform-react-jsx-source":"^7.16.7","@rollup/pluginutils":"^4.2.1","react-refresh":"^0.12.0"},"devDependencies":{"@microsoft/api-extractor":"^7.23.0","@types/node":"^17.0.10","@types/resolve":"^1.20.2","esbuild":"^0.14.21","npm-run-all":"^4.1.5","picocolors":"^1.0.0","resolve":"^1.22.0","rimraf":"^3.0.2","ts-node":"^10.7.0","typescript":"^4.4.4","vite":"^2.9.6"},"scripts":{"dev":"tsc -p . -w --incremental","build":"rimraf dist && run-s build-bundle build-types","build-bundle":"esbuild src/index.ts --bundle --platform=node --target=node12 --external:@babel/* --external:@rollup/* --external:resolve --external:react-refresh/* --outfile=dist/index.js && npm run patch-dist","patch-dist":"ts-node scripts/patchEsbuildDist.ts dist/index.js viteReact","build-types":"tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp"},"_id":"@rcdoc/plugin-react@0.0.4","_integrity":"sha512-5TNkkkNOFnNPgdjnmaGyiu4/nW0dsnloTDiwd3ltqwStKEkzk2NwOmHwSpNbiT/X1olkXKr6aHUVSNwt2Y7HYA==","_resolved":"/private/var/folders/14/6nyqjrgn5k91s5p_7rr26m900000gn/T/f3ff2540b98c787315157526adbab6e7/rcdoc-plugin-react-0.0.4.tgz","_from":"file:rcdoc-plugin-react-0.0.4.tgz","_nodeVersion":"16.14.1","_npmVersion":"8.5.0","dist":{"integrity":"sha512-5TNkkkNOFnNPgdjnmaGyiu4/nW0dsnloTDiwd3ltqwStKEkzk2NwOmHwSpNbiT/X1olkXKr6aHUVSNwt2Y7HYA==","shasum":"0880bc04d3dbedb426c29004ba9902a8cb59e9ac","tarball":"http://registry-npm.ywwl.com/@rcdoc/plugin-react/download/@rcdoc/plugin-react-0.0.4.tgz","fileCount":12,"unpackedSize":56533,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIJRzvhp1tYByPHBiIii2eFf2FEaclM1NcwJijT51YqgIhAN0T0Ti7nEDBzX+iblEJh8Gy0fpe3JUhNTD6Tfysemed"}],"size":16614,"noattachment":false,"key":"/@rcdoc/plugin-react/-/@rcdoc/plugin-react-0.0.4.tgz"},"_npmUser":{"name":"sanlang","email":"zhanghuang11211@gmail.com"},"directories":{},"maintainers":[{"name":"sanlang","email":"zhanghuang11211@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-react_0.0.4_1708788129283_0.058751213329227614"},"_hasShrinkwrap":false,"publish_time":1708788129540,"_cnpm_publish_time":1708788129540},"0.0.3":{"name":"@rcdoc/plugin-react","version":"0.0.3","repository":{"type":"git","url":"git@github.com:3lang3/rcdoc.git","branch":"main","package":"./packages/plugin-react"},"license":"MIT","author":"3lang3","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"bugs":{"url":"https://github.com/vitejs/vite/issues"},"homepage":"https://github.com/vitejs/vite/tree/main/packages/plugin-react#readme","dependencies":{"@babel/core":"^7.17.9","@babel/plugin-transform-react-jsx":"^7.17.3","@babel/plugin-transform-react-jsx-development":"^7.16.7","@babel/plugin-transform-react-jsx-self":"^7.16.7","@babel/plugin-transform-react-jsx-source":"^7.16.7","@rollup/pluginutils":"^4.2.1","react-refresh":"^0.12.0"},"devDependencies":{"@microsoft/api-extractor":"^7.23.0","@types/node":"^17.0.10","@types/resolve":"^1.20.2","esbuild":"^0.14.21","npm-run-all":"^4.1.5","picocolors":"^1.0.0","resolve":"^1.22.0","rimraf":"^3.0.2","ts-node":"^10.7.0","typescript":"^4.4.4","vite":"^2.9.6"},"scripts":{"dev":"tsc -p . -w --incremental","build":"rimraf dist && run-s build-bundle build-types","build-bundle":"esbuild src/index.ts --bundle --platform=node --target=node12 --external:@babel/* --external:@rollup/* --external:resolve --external:react-refresh/* --outfile=dist/index.js && npm run patch-dist","patch-dist":"ts-node scripts/patchEsbuildDist.ts dist/index.js viteReact","build-types":"tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp"},"_id":"@rcdoc/plugin-react@0.0.3","_integrity":"sha512-xx8lUTl5NX/uD6ilJSyKjbvlBfC7UBCHbeKX1dImpmnw2P+qk8dYLW2O7z+lMLmq3FKEkRDVGNlqP+fQ6150tw==","_resolved":"/private/var/folders/14/6nyqjrgn5k91s5p_7rr26m900000gn/T/823908e96b6dc67b23f9b8e3a9f61bc1/rcdoc-plugin-react-0.0.3.tgz","_from":"file:rcdoc-plugin-react-0.0.3.tgz","_nodeVersion":"16.14.1","_npmVersion":"8.5.0","dist":{"integrity":"sha512-xx8lUTl5NX/uD6ilJSyKjbvlBfC7UBCHbeKX1dImpmnw2P+qk8dYLW2O7z+lMLmq3FKEkRDVGNlqP+fQ6150tw==","shasum":"4fe5439a7041abe6b79cb8fef241ebcddf073483","tarball":"http://registry-npm.ywwl.com/@rcdoc/plugin-react/download/@rcdoc/plugin-react-0.0.3.tgz","fileCount":12,"unpackedSize":56525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYVGeZQsKyRqcb1+OVF+wkJNqYb8IIrsasT3n4RM2uyAiAB/3e0qWuRQtgsVvtkXgBskdxDGKoTtH304Gf/Jfdx/w=="}],"size":16615,"noattachment":false,"key":"/@rcdoc/plugin-react/-/@rcdoc/plugin-react-0.0.3.tgz"},"_npmUser":{"name":"sanlang","email":"zhanghuang11211@gmail.com"},"directories":{},"maintainers":[{"name":"sanlang","email":"zhanghuang11211@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-react_0.0.3_1708786756658_0.4329128681813019"},"_hasShrinkwrap":false,"publish_time":1708786756880,"_cnpm_publish_time":1708786756880},"0.0.2":{"name":"@rcdoc/plugin-react","version":"0.0.2","license":"MIT","author":"Evan You","contributors":["Alec Larson"],"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0.0"},"repository":{"type":"git","url":"git+https://github.com/vitejs/vite.git","directory":"packages/plugin-react"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"bugs":{"url":"https://github.com/vitejs/vite/issues"},"homepage":"https://github.com/vitejs/vite/tree/main/packages/plugin-react#readme","dependencies":{"@babel/core":"^7.17.9","@babel/plugin-transform-react-jsx":"^7.17.3","@babel/plugin-transform-react-jsx-development":"^7.16.7","@babel/plugin-transform-react-jsx-self":"^7.16.7","@babel/plugin-transform-react-jsx-source":"^7.16.7","@rollup/pluginutils":"^4.2.1","react-refresh":"^0.12.0"},"devDependencies":{"@microsoft/api-extractor":"^7.23.0","@types/resolve":"^1.20.2","esbuild":"^0.14.21","npm-run-all":"^4.1.5","picocolors":"^1.0.0","resolve":"^1.22.0","rimraf":"^3.0.2","ts-node":"^10.7.0","typescript":"^4.4.4","vite":"^2.9.6"},"scripts":{"dev":"tsc -p . -w --incremental","build":"rimraf dist && run-s build-bundle build-types","build-bundle":"esbuild src/index.ts --bundle --platform=node --target=node12 --external:@babel/* --external:@rollup/* --external:resolve --external:react-refresh/* --outfile=dist/index.js && npm run patch-dist","patch-dist":"ts-node scripts/patchEsbuildDist.ts dist/index.js viteReact","build-types":"tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp"},"_id":"@rcdoc/plugin-react@0.0.2","_integrity":"sha512-QuiecXYpx3tG/bLRfGFyPHq9pYFKq9+X0U48ObWeqSN7sCz5FOMsEFykxBXxaxjl24y3LA6O2Jjuk4LGeZG9lQ==","_resolved":"C:\\Users\\Ethan\\AppData\\Local\\Temp\\320e5fb87a613968bd7f43d86069ea24\\rcdoc-plugin-react-0.0.2.tgz","_from":"file:rcdoc-plugin-react-0.0.2.tgz","_nodeVersion":"16.2.0","_npmVersion":"7.13.0","dist":{"integrity":"sha512-QuiecXYpx3tG/bLRfGFyPHq9pYFKq9+X0U48ObWeqSN7sCz5FOMsEFykxBXxaxjl24y3LA6O2Jjuk4LGeZG9lQ==","shasum":"2371dd3f34ba9debda3a0a9ddf14f9df532a6761","tarball":"http://registry-npm.ywwl.com/@rcdoc/plugin-react/download/@rcdoc/plugin-react-0.0.2.tgz","fileCount":12,"unpackedSize":60044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAVGnsdvsuKbiuZ6OLN2gsHNVzoJp8NS5EwLmizn17DCAiEAvU16UVfJmbNjJ1wt+QKFGRDDepWZkWLXjMkNssJaa0M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJia7noACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFmQ/8C6Gm8gtz7xVPVBlB11bn2NuvR+q3JTfF5vXszTkDgD8HEZXF\r\nFu5s1gSnxV9zUBziFGeY+zX5JobHePq6upB1OIRezEsRf4kKkoooHec3PxO6\r\nTF9neimIPcL/9r3KUheGZdBlpD5LbMwgCM+EJgQi6kPYhsyUyjZiIzYUzaLn\r\nRRt7vV3r4q1Mm6SHFk9SpDBLo+cgKwYz1if2fYBUnZJw5aT3v0ehn0o0s6xU\r\n7QS5s5DpjSf+XL4ZgvVPpf4Ol2h5LFRxc5v0Jqjk145uwUboOUljWEq5JOEm\r\n5Kz7rT5CPQsDh4nUcQtWfWI13n4vrWx8OVZrDrX5/P25m9hTgrjTSs5rumcz\r\nhoP5NCCay94GvyFd5FGqgArEaIYV1nbJ160jQFI7s/KmAFipD0qh884Cdw15\r\nbr20dUzK1gKE2KA1f/ovEo6F64E8OeCN+jmItBiqHxkIMC+0VkQrfkk270+v\r\nrwZVpxF/uG7jmTu0cxmXSHtBdqmOGQxhrifoI91z7ANCmXpEtOoi0/Wfe1q3\r\n8Rner2eTG+1BhyPeemBT1BHA9T4GNgGkQfhNxTWROfS0GPqZi097BVad0wwn\r\n1elwQUHbgO+DvFEcvQBqfIDrIq720gcZAc1YGwKV0cco7jwZOxm0JzyrAfs1\r\n+jZx+kDAMtz4yO2ZmT6yAMUVDCOHC5hqxcs=\r\n=HuqL\r\n-----END PGP SIGNATURE-----\r\n","size":17073,"noattachment":false,"key":"/@rcdoc/plugin-react/-/@rcdoc/plugin-react-0.0.2.tgz"},"_npmUser":{"name":"sanlang","email":"zhanghuang11211@gmail.com"},"directories":{},"maintainers":[{"name":"sanlang","email":"zhanghuang11211@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-react_0.0.2_1651227111908_0.2427577322007073"},"_hasShrinkwrap":false,"publish_time":1651227112042,"_cnpm_publish_time":1651227112042},"0.0.1":{"name":"@rcdoc/plugin-react","version":"0.0.1","license":"MIT","author":"Evan You","contributors":["Alec Larson"],"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0.0"},"repository":{"type":"git","url":"git+https://github.com/vitejs/vite.git","directory":"packages/plugin-react"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"bugs":{"url":"https://github.com/vitejs/vite/issues"},"homepage":"https://github.com/vitejs/vite/tree/main/packages/plugin-react#readme","dependencies":{"@babel/core":"^7.17.9","@babel/plugin-transform-react-jsx":"^7.17.3","@babel/plugin-transform-react-jsx-development":"^7.16.7","@babel/plugin-transform-react-jsx-self":"^7.16.7","@babel/plugin-transform-react-jsx-source":"^7.16.7","@rollup/pluginutils":"^4.2.1","react-refresh":"^0.12.0"},"devDependencies":{"@microsoft/api-extractor":"^7.23.0","@types/resolve":"^1.20.2","esbuild":"^0.14.21","npm-run-all":"^4.1.5","picocolors":"^1.0.0","resolve":"^1.22.0","rimraf":"^3.0.2","ts-node":"^10.7.0","typescript":"^4.4.4","vite":"^2.9.6"},"scripts":{"dev":"tsc -p . -w --incremental","build":"rimraf dist && run-s build-bundle build-types","build-bundle":"esbuild src/index.ts --bundle --platform=node --target=node12 --external:@babel/* --external:@rollup/* --external:resolve --external:react-refresh/* --outfile=dist/index.js && npm run patch-dist","patch-dist":"ts-node scripts/patchEsbuildDist.ts dist/index.js viteReact","build-types":"tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp"},"_id":"@rcdoc/plugin-react@0.0.1","_integrity":"sha512-I9QTPgb0w2j36aX1DNGAhR7vQ2PziSSKdnjbgSno1gvJ38LEbcPJu0RY0DcYf7GrbfCG2aRa64lEQjZ042KLug==","_resolved":"C:\\Users\\Ethan\\AppData\\Local\\Temp\\277c416a5658668912fd901cde1e0c97\\rcdoc-plugin-react-0.0.1.tgz","_from":"file:rcdoc-plugin-react-0.0.1.tgz","_nodeVersion":"16.2.0","_npmVersion":"7.13.0","dist":{"integrity":"sha512-I9QTPgb0w2j36aX1DNGAhR7vQ2PziSSKdnjbgSno1gvJ38LEbcPJu0RY0DcYf7GrbfCG2aRa64lEQjZ042KLug==","shasum":"c938a4771130117188e3bca4418b979911e5d01d","tarball":"http://registry-npm.ywwl.com/@rcdoc/plugin-react/download/@rcdoc/plugin-react-0.0.1.tgz","fileCount":12,"unpackedSize":60044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC24D3L3s70NZzI4X18M9n8rf51OjZPg8uknYcamInHdAiAuWDVqtkFAr5qTaA/2+ODc2L1GoA0RmUceErA01N8xNQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJia7g+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbjQ//XjLMn/3OcbNGp5nGrUX3OwXgQPGLD9bkfPU/I2dJJNNJc9ON\r\nMFpHDxlizuu58TPhPjghK1DuDiyevQfOdHWIF7VZhUuwj/Xc3pi3HHeYIFMK\r\njYmVZzEI0Z4p4LRGgUVY2vymxyc7jBXsqRDBDjmU7uiZM4De/FCh0qrR6YCP\r\nU44ESo84NxLpoxZdyuOydDNfjis96l5ids6EWAtg4anRpQLdTig4G7SZ0Az6\r\nHiQpwv/tYrTijnpkSM1u1D0LIcgNYo3TAma6jo51yUICzgArUhcbqNeAQOL6\r\ng6BCzQvC+pfkF2K+UMuksn6L5eMS0Zy7U4y7k/9JhBniG+Jr7scnLsrT9mNv\r\n+bdk1D5/HIpDHXdX7jL4ybqL8O21YozzS3WjQhtQ/DxBhzC2nCxB4jBf68Qj\r\nbdRrjlfKjCgSjR8TOCT32Qn0fW3WnN8T6Hp7cYMJO+DoOC6CxtbE/NYvaWzT\r\n9Cksnga6dTikzl7nA9ye2VAdANZJ7TNAx0B/zmv3pQvS8FsPne5c7QFQviNA\r\nN5kXKHGEtWgRhCfbCa7w6oqH7E6y7sQylaFex0+eWwq5TydsPJWWMwsw1iw4\r\nB97mddx27dLdjUc74LDtTQSpMJlL5Z2qxyekK6qBXUDu2w+EpxX64joJqixa\r\nEk4UAa5wH/3AaD5jM8qGHn8ld+eo3PmeHoM=\r\n=TV5m\r\n-----END PGP SIGNATURE-----\r\n","size":17072,"noattachment":false,"key":"/@rcdoc/plugin-react/-/@rcdoc/plugin-react-0.0.1.tgz"},"_npmUser":{"name":"sanlang","email":"zhanghuang11211@gmail.com"},"directories":{},"maintainers":[{"name":"sanlang","email":"zhanghuang11211@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-react_0.0.1_1651226686081_0.7510401900201813"},"_hasShrinkwrap":false,"publish_time":1651226686186,"_cnpm_publish_time":1651226686186}},"readme":"# @vitejs/plugin-react [![npm](https://img.shields.io/npm/v/@vitejs/plugin-react.svg)](https://npmjs.com/package/@vitejs/plugin-react)\n\nThe all-in-one Vite plugin for React projects.\n\n- enable [Fast Refresh](https://www.npmjs.com/package/react-refresh) in development\n- use the [automatic JSX runtime](https://github.com/alloc/vite-react-jsx#faq)\n- avoid manual `import React` in `.jsx` and `.tsx` modules\n- dedupe the `react` and `react-dom` packages\n- use custom Babel plugins/presets\n\n```js\n// vite.config.js\nimport { defineConfig } from 'vite';\nimport react from '@vitejs/plugin-react';\n\nexport default defineConfig({\n  plugins: [react()],\n});\n```\n\n## Filter which files use Fast Refresh\n\nBy default, Fast Refresh is used by files ending with `.js`, `.jsx`, `.ts`, and `.tsx`, except for files with a `node_modules` parent directory.\n\nIn some situations, you may not want a file to act as a HMR boundary, instead preferring that the changes propagate higher in the stack before being handled. In these cases, you can provide an `include` and/or `exclude` option, which can be a regex, a [picomatch](https://github.com/micromatch/picomatch#globbing-features) pattern, or an array of either. Files matching `include` and not `exclude` will use Fast Refresh. The defaults are always applied.\n\n```js\nreact({\n  // Exclude storybook stories\n  exclude: /\\.stories\\.(t|j)sx?$/,\n  // Only .tsx files\n  include: '**/*.tsx',\n});\n```\n\n## Opting out of the automatic JSX runtime\n\nBy default, the plugin uses the [automatic JSX runtime](https://github.com/alloc/vite-react-jsx#faq). However, if you encounter any issues, you may opt out using the `jsxRuntime` option.\n\n```js\nreact({\n  jsxRuntime: 'classic',\n});\n```\n\n## Babel configuration\n\nThe `babel` option lets you add plugins, presets, and [other configuration](https://babeljs.io/docs/en/options) to the Babel transformation performed on each JSX/TSX file.\n\n```js\nreact({\n  babel: {\n    presets: [...],\n    // Your plugins run before any built-in transform (eg: Fast Refresh)\n    plugins: [...],\n    // Use .babelrc files\n    babelrc: true,\n    // Use babel.config.js files\n    configFile: true,\n  }\n})\n```\n\n### Proposed syntax\n\nIf you are using ES syntax that are still in proposal status (e.g. class properties), you can selectively enable them with the `babel.parserOpts.plugins` option:\n\n```js\nreact({\n  babel: {\n    parserOpts: {\n      plugins: ['decorators-legacy'],\n    },\n  },\n});\n```\n\nThis option does not enable _code transformation_. That is handled by esbuild.\n\n**Note:** TypeScript syntax is handled automatically.\n\nHere's the [complete list of Babel parser plugins](https://babeljs.io/docs/en/babel-parser#ecmascript-proposalshttpsgithubcombabelproposals).\n\n## Middleware mode\n\nIn [middleware mode](https://vitejs.dev/config/#server-middlewaremode), you should make sure your entry `index.html` file is transformed by Vite. Here's an example for an Express server:\n\n```js\napp.get('/', async (req, res, next) => {\n  try {\n    let html = fs.readFileSync(path.resolve(root, 'index.html'), 'utf-8');\n\n    // Transform HTML using Vite plugins.\n    html = await viteServer.transformIndexHtml(req.url, html);\n\n    res.send(html);\n  } catch (e) {\n    return next(e);\n  }\n});\n```\n\nOtherwise, you'll probably get this error:\n\n```\nUncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong.\n```\n","_attachments":{},"homepage":"https://github.com/vitejs/vite/tree/main/packages/plugin-react#readme","bugs":{"url":"https://github.com/vitejs/vite/issues"},"license":"MIT"}