{"_id":"12libs-react-components-template","name":"12libs-react-components-template","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"12libs-react-components-template","version":"0.0.1","type":"module","description":"一个 React 组件库","main":"dist/index.js","module":"dist/index.esm.js","types":"./dist/types/index.d.ts","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["react","components","ui"],"author":{"name":"pasord"},"license":"MIT","scripts":{"dev":"vite","build":"tsc -b && vite build","lint":"eslint .","preview":"vite preview"},"peerDependencies":{"react":"^18.3.1","react-dom":"^18.3.1"},"devDependencies":{"@eslint/js":"^9.17.0","@types/react":"^18.3.18","@types/react-dom":"^18.3.5","@vitejs/plugin-react":"^4.3.4","eslint":"^9.17.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.16","globals":"^15.14.0","typescript":"~5.6.2","typescript-eslint":"^8.18.2","vite":"^6.0.5","vite-plugin-dts":"^4.5.0"},"_id":"12libs-react-components-template@0.0.1","gitHead":"35a01d16eaf50ef87ae7b360b40ce4d9bc66c11b","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-Eb9LURxyJgbj3JAiJNTOs5q8O65MsiVp3W9q+JH1TUbrDIeqYPlrHFnZboZq8DtbJj8Vdlt/GIMrWz84Shdk+Q==","shasum":"9f8bb7c289ba648f3ec0d20ae1a4a0dee291c851","tarball":"https://registry.npmjs.org/12libs-react-components-template/-/12libs-react-components-template-0.0.1.tgz","fileCount":5,"unpackedSize":130441,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHZJTfoR5Twmz+4MHNcD7KhXUoIkm0JyJmDlJqa3x9XAiEAg5sKw+RETc1SstFciYEvdwfyAHpidPzCPbobcxUsH6c="}]},"_npmUser":{"name":"pasord","email":"1007593161@qq.com"},"directories":{},"maintainers":[{"name":"pasord","email":"1007593161@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/12libs-react-components-template_0.0.1_1736650544685_0.27531808273951874"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-12T02:55:44.684Z","0.0.1":"2025-01-12T02:55:44.876Z","modified":"2025-01-12T02:55:45.193Z"},"maintainers":[{"name":"pasord","email":"1007593161@qq.com"}],"description":"一个 React 组件库","keywords":["react","components","ui"],"author":{"name":"pasord"},"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\nexport default tseslint.config({\n  languageOptions: {\n    // other options...\n    parserOptions: {\n      project: ['./tsconfig.node.json', './tsconfig.app.json'],\n      tsconfigRootDir: import.meta.dirname,\n    },\n  },\n})\n```\n\n- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`\n- Optionally add `...tseslint.configs.stylisticTypeChecked`\n- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:\n\n```js\n// eslint.config.js\nimport react from 'eslint-plugin-react'\n\nexport default tseslint.config({\n  // Set the react version\n  settings: { react: { version: '18.3' } },\n  plugins: {\n    // Add the react plugin\n    react,\n  },\n  rules: {\n    // other rules...\n    // Enable its recommended rules\n    ...react.configs.recommended.rules,\n    ...react.configs['jsx-runtime'].rules,\n  },\n})\n```\n","readmeFilename":"README.md"}