{"_id":"@antran2704/utils-fe","name":"@antran2704/utils-fe","dist-tags":{"latest":"1.2.0"},"versions":{"1.2.0":{"name":"@antran2704/utils-fe","private":false,"version":"1.2.0","main":"dist/index.umd.js","module":"dist/index.es.js","types":"dist/index.d.ts","scripts":{"dev":"vite","build":"tsc -b && vite build","lint":"eslint .","preview":"vite preview"},"dependencies":{"@tailwindcss/postcss":"^4.1.14","postcss":"^8.5.6","react":"^19.1.1","react-dom":"^19.1.1","tailwindcss":"^4.1.14"},"devDependencies":{"@eslint/js":"^9.36.0","@types/node":"^24.6.0","@types/react":"^19.1.16","@types/react-dom":"^19.1.9","@vitejs/plugin-react":"^5.0.4","eslint":"^9.36.0","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.22","globals":"^16.4.0","typescript":"~5.9.3","typescript-eslint":"^8.45.0","vite":"^7.1.7","vite-plugin-dts":"^4.5.4"},"_id":"@antran2704/utils-fe@1.2.0","gitHead":"f2a5cffd1fcc9690e66b6fc1605d414c6610825e","description":"This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-t3EAdx62wiY48X6DNwPS7YH7uIUEOVbgQZCXJ4xw1AiEwQsQpH57hmebTwP0YgtkC7HSvRo5AihVudY6j/kdaA==","shasum":"2bd0f823ee50679a2dc84e3688cdaf9e8f496abd","tarball":"https://registry.npmjs.org/@antran2704/utils-fe/-/utils-fe-1.2.0.tgz","fileCount":13,"unpackedSize":62499,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGax96/UzXj9YnjSsANMPAutOLUwoTfSZtoCXKQduc2aAiBjm0Eq/HIqhIjVbwj4wYHJaRidTcM77gRmi+/Ankb9QA=="}]},"_npmUser":{"name":"antran2704","email":"phamtrangiaan27@gmail.com"},"directories":{},"maintainers":[{"name":"antran2704","email":"phamtrangiaan27@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/utils-fe_1.2.0_1760881068660_0.31043421449458863"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-19T13:37:48.562Z","1.2.0":"2025-10-19T13:37:48.857Z","modified":"2025-10-19T13:37:49.110Z"},"maintainers":[{"name":"antran2704","email":"phamtrangiaan27@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/) (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-b6776b0c5f6997e9ae97257e60ff8b61"}