{"_id":"@daithien2004/shopping-cart-lib","name":"@daithien2004/shopping-cart-lib","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@daithien2004/shopping-cart-lib","version":"1.0.0","type":"module","main":"dist/shopping-cart-lib.umd.js","module":"dist/shopping-cart-lib.es.js","scripts":{"dev":"vite","build":"tsc -b && vite build","lint":"eslint .","preview":"vite preview"},"dependencies":{"@tailwindcss/vite":"^4.1.13","react":"^19.1.1","react-dom":"^19.1.1","tailwindcss":"^4.1.13"},"devDependencies":{"@eslint/js":"^9.33.0","@types/node":"^24.3.1","@types/react":"^19.1.10","@types/react-dom":"^19.1.7","@vitejs/plugin-react":"^5.0.0","eslint":"^9.33.0","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.20","globals":"^16.3.0","typescript":"~5.8.3","typescript-eslint":"^8.39.1","vite":"^7.1.2"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_id":"@daithien2004/shopping-cart-lib@1.0.0","description":"This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.","_nodeVersion":"24.6.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-bVZLkKufiTO5TcW8MYKnB6mGqsmTztkMo4FRSF67s+yYw0QeC0pIZHMScE7G8irn4+riw8pGGYboE0AEwfiwXQ==","shasum":"abd2996a798be440fdf6ac3b4631561b9ff33812","tarball":"https://registry.npmjs.org/@daithien2004/shopping-cart-lib/-/shopping-cart-lib-1.0.0.tgz","fileCount":5,"unpackedSize":25056,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCp04ooI2iHkay5083MPRPMMt34F7+54cLP7D477ZplXQIhAJiKJLe+UKVqAcIfxFzgmNXzDtMrilDpwu0G6nhjXgN8"}]},"_npmUser":{"name":"daithien2004","email":"daithien2004@gmail.com"},"directories":{},"maintainers":[{"name":"daithien2004","email":"daithien2004@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shopping-cart-lib_1.0.0_1757663192513_0.6247839799022343"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-12T07:46:32.402Z","1.0.0":"2025-09-12T07:46:32.713Z","modified":"2025-09-12T07:46:33.038Z"},"maintainers":[{"name":"daithien2004","email":"daithien2004@gmail.com"}],"description":"This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.","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/) 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## 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 tseslint.config([\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 tseslint.config([\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-e5284d84dc40adac3a65fa0c20e9b18d"}