{"_id":"@ellmc2/vite-react-ts-playground","_rev":"1-c543698de3224a0ac47c0182ff39954b","name":"@ellmc2/vite-react-ts-playground","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@ellmc2/vite-react-ts-playground","private":false,"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ellmc2/vite-react-ts-playground.git"},"version":"0.0.1","type":"module","scripts":{"dev":"vite","build":"tsc && vite build","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","preview":"vite preview"},"dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"devDependencies":{"@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","@vitejs/plugin-react":"^4.0.3","eslint":"^8.45.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.3","typescript":"^5.0.2","vite":"^4.4.5"},"description":"This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.","bugs":{"url":"https://github.com/ellmc2/vite-react-ts-playground/issues"},"homepage":"https://github.com/ellmc2/vite-react-ts-playground#readme","main":"dist/index.html","keywords":["vite","react","typescript"],"author":{"name":"ellmc2"},"_id":"@ellmc2/vite-react-ts-playground@0.0.1","gitHead":"8033d2e2f330386d69179ef208b1e7fa81680ceb","_nodeVersion":"18.17.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-HzL7qL/RWh60j8LgVVSM8eD2W5aDYmW6i4l+r3mmmokwUmhaqODcG4KSZQu3nlKpK0DQQVWDcHzzaj2JXUt/0Q==","shasum":"5b70416de9262848218b58a55e2724abd38ad6dc","tarball":"https://registry.npmjs.org/@ellmc2/vite-react-ts-playground/-/vite-react-ts-playground-0.0.1.tgz","fileCount":19,"unpackedSize":163948,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH05H+bHImvGvGWe/wlV9qT83ItYXMWjl3i/Ed4LoxY6AiEA962byBYpvIvS/Nv/w5K/AWVMOJiKj2IigjXFJeBlW6E="}]},"_npmUser":{"name":"ellmc2","email":"jellmc2@gmail.com"},"directories":{},"maintainers":[{"name":"ellmc2","email":"jellmc2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-react-ts-playground_0.0.1_1694220364255_0.7537540679665407"},"_hasShrinkwrap":false},"0.0.2":{"name":"@ellmc2/vite-react-ts-playground","private":false,"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ellmc2/vite-react-ts-playground.git"},"version":"0.0.2","type":"module","scripts":{"dev":"vite","build":"tsc && vite build","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","preview":"vite preview"},"dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"devDependencies":{"@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","@vitejs/plugin-react":"^4.0.3","eslint":"^8.45.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.3","typescript":"^5.0.2","vite":"^4.4.5"},"description":"This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.","bugs":{"url":"https://github.com/ellmc2/vite-react-ts-playground/issues"},"homepage":"https://github.com/ellmc2/vite-react-ts-playground#readme","main":"dist/index.html","keywords":["vite","react","typescript"],"author":{"name":"ellmc2"},"_id":"@ellmc2/vite-react-ts-playground@0.0.2","dist":{"shasum":"872e4466dbb972104192b4f09f18c08ebfcc98a5","integrity":"sha512-j63fOHF+jSyZ+6c5fPzzJ/c3Z7ESqKKdma+kwQ1bdBhE4J29lxcrEICPx60GekHkXqSgz21rC1eCNekLXMPqfQ==","tarball":"https://registry.npmjs.org/@ellmc2/vite-react-ts-playground/-/vite-react-ts-playground-0.0.2.tgz","fileCount":21,"unpackedSize":13659,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENYfyKR8ZcO2Lo5kh3FFDoAO5Jhzd1hvtmtfCS6xUwbAiEAw4ufog8zItAvMdxkUYZYoF7zfRVUVCtjNOVsHgudi3o="}]},"_npmUser":{"name":"ellmc2","email":"jellmc2@gmail.com"},"directories":{},"maintainers":[{"name":"ellmc2","email":"jellmc2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-react-ts-playground_0.0.2_1694221025019_0.2546435441562247"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-09T00:46:04.203Z","0.0.1":"2023-09-09T00:46:04.479Z","modified":"2023-09-09T00:57:05.386Z","0.0.2":"2023-09-09T00:57:05.174Z"},"maintainers":[{"name":"ellmc2","email":"jellmc2@gmail.com"}],"description":"This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.","homepage":"https://github.com/ellmc2/vite-react-ts-playground#readme","keywords":["vite","react","typescript"],"repository":{"type":"git","url":"git+https://github.com/ellmc2/vite-react-ts-playground.git"},"author":{"name":"ellmc2"},"bugs":{"url":"https://github.com/ellmc2/vite-react-ts-playground/issues"},"license":"MIT","readme":"# React + TypeScript + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n\n## Expanding the ESLint configuration\n\nIf you are developing a production application, we recommend updating the configuration to enable type aware lint rules:\n\n- Configure the top-level `parserOptions` property like this:\n\n```js\n   parserOptions: {\n    ecmaVersion: 'latest',\n    sourceType: 'module',\n    project: ['./tsconfig.json', './tsconfig.node.json'],\n    tsconfigRootDir: __dirname,\n   },\n```\n\n- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`\n- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`\n- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list\n\n## 创建项目\n\n```bash\npnpm create vite vite-react-ts-playground --template react-ts\n```\n\n## 发布项目\n\n```bash\nnpm publish --access public\n```\n\n","readmeFilename":"README.md"}