{"_id":"@atahar.jamal/shared-ui","name":"@atahar.jamal/shared-ui","dist-tags":{"latest":"2.1.1"},"versions":{"2.1.1":{"name":"@atahar.jamal/shared-ui","version":"2.1.1","description":"A shared UI component library for React applications.","private":false,"type":"module","main":"./dist/shared-ui.cjs.js","module":"./dist/shared-ui.es.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/shared-ui.es.js","require":"./dist/shared-ui.cjs.js"}},"scripts":{"dev":"vite","build":"tsc -b && vite build","lint":"eslint .","preview":"vite preview"},"dependencies":{"react":"^19.2.0","react-dom":"^19.2.0"},"devDependencies":{"@eslint/js":"^9.39.1","@types/node":"^24.10.1","@types/react":"^19.2.7","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1","eslint":"^9.39.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24","globals":"^16.5.0","typescript":"~5.9.3","typescript-eslint":"^8.48.0","vite":"^7.3.1"},"_id":"@atahar.jamal/shared-ui@2.1.1","_nodeVersion":"20.18.1","_npmVersion":"11.3.0","dist":{"integrity":"sha512-sXmPVd6/fYe0K/TGWdg1Tg+98/Lvv8+E5568NdC1F2Gp7t8DJpQv9/mqvQg5epy6w7Si4wy/+fOK+fRPNFRlYQ==","shasum":"c8ba72b960a96a140087ec096139e2ffda366b9a","tarball":"https://registry.npmjs.org/@atahar.jamal/shared-ui/-/shared-ui-2.1.1.tgz","fileCount":16,"unpackedSize":15559,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH0dh4BHEw4khur27kuug6MGYdLWITaynvTmsXKr1BuEAiEAy5znEExJ3fKE9Ze491zVhdg/v0YVpB85hwOVbOVixSQ="}]},"_npmUser":{"name":"atahar.jamal","email":"ataharsdr@gmail.com"},"directories":{},"maintainers":[{"name":"atahar.jamal","email":"ataharsdr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shared-ui_2.1.1_1771747246863_0.26870531773193984"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-22T08:00:46.632Z","2.1.1":"2026-02-22T08:00:47.015Z","modified":"2026-02-22T08:00:47.353Z"},"maintainers":[{"name":"atahar.jamal","email":"ataharsdr@gmail.com"}],"description":"A shared UI component library for React applications.","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) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n\n## React Compiler\n\nThe React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).\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```js\nexport default defineConfig([\n  globalIgnores(['dist']),\n  {\n    files: ['**/*.{ts,tsx}'],\n    extends: [\n      // Other configs...\n\n      // Remove tseslint.configs.recommended and replace with this\n      tseslint.configs.recommendedTypeChecked,\n      // Alternatively, use this for stricter rules\n      tseslint.configs.strictTypeChecked,\n      // Optionally, add this for stylistic rules\n      tseslint.configs.stylisticTypeChecked,\n\n      // Other configs...\n    ],\n    languageOptions: {\n      parserOptions: {\n        project: ['./tsconfig.node.json', './tsconfig.app.json'],\n        tsconfigRootDir: import.meta.dirname,\n      },\n      // other options...\n    },\n  },\n])\n```\n\nYou can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:\n\n```js\n// eslint.config.js\nimport reactX from 'eslint-plugin-react-x'\nimport reactDom from 'eslint-plugin-react-dom'\n\nexport default defineConfig([\n  globalIgnores(['dist']),\n  {\n    files: ['**/*.{ts,tsx}'],\n    extends: [\n      // Other configs...\n      // Enable lint rules for React\n      reactX.configs['recommended-typescript'],\n      // Enable lint rules for React DOM\n      reactDom.configs.recommended,\n    ],\n    languageOptions: {\n      parserOptions: {\n        project: ['./tsconfig.node.json', './tsconfig.app.json'],\n        tsconfigRootDir: import.meta.dirname,\n      },\n      // other options...\n    },\n  },\n])\n```\n","readmeFilename":"README.md","_rev":"1-6afcca0d076bb891ebe10f379c5197c8"}