- Romania
- https://badeadanut.dev
- Joined on
2025-02-03
Block a user
@badeadanut/uikit (0.0.0)
Published 2025-04-02 20:00:48 +00:00 by badeadanut
Installation
@badeadanut:registry=npm install @badeadanut/uikit@0.0.0"@badeadanut/uikit": "0.0.0"About this package
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default tseslint.config({
extends: [
// Remove ...tseslint.configs.recommended and replace with this
...tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
...tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
...tseslint.configs.stylisticTypeChecked,
],
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default tseslint.config({
plugins: {
// Add the react-x and react-dom plugins
'react-x': reactX,
'react-dom': reactDom,
},
rules: {
// other rules...
// Enable its recommended typescript rules
...reactX.configs['recommended-typescript'].rules,
...reactDom.configs.recommended.rules,
},
})
Dependencies
Dependencies
| ID | Version |
|---|---|
| react | ^19.0.0 |
| react-dom | ^19.0.0 |
Development Dependencies
| ID | Version |
|---|---|
| @eslint/js | ^9.21.0 |
| @types/node | ^22.14.0 |
| @types/react | ^19.0.10 |
| @types/react-dom | ^19.0.4 |
| @vitejs/plugin-react-swc | ^3.8.0 |
| eslint | ^9.21.0 |
| eslint-plugin-react-hooks | ^5.1.0 |
| eslint-plugin-react-refresh | ^0.4.19 |
| glob | ^11.0.1 |
| globals | ^15.15.0 |
| typescript | ~5.7.2 |
| typescript-eslint | ^8.24.1 |
| vite | ^6.2.0 |
| vite-plugin-dts | ^4.5.3 |
| vite-plugin-lib-inject-css | ^2.2.1 |
Details
2025-04-02 20:00:48 +00:00
Assets (1)
Versions (1)
View all
npm
2
latest
1.8 KiB
uikit-0.0.0.tgz
1.8 KiB
0.0.0
2025-04-02