react-ts-tab-lib
Version:
A React Typescript library rendering a Table compenent receiving in props for rows an array of a generic type T (precised when using the component) and for columns an array of objects of type Column<T> precising the displayName, the key of the T type and
108 lines (107 loc) • 3.12 kB
JSON
{
"name": "react-ts-tab-lib",
"private": false,
"version": "1.9.3",
"sideEffects": false,
"type": "module",
"main": "./dist/index.js",
"description": "A React Typescript library rendering a Table compenent receiving in props for rows an array of a generic type T (precised when using the component) and for columns an array of objects of type Column<T> precising the displayName, the key of the T type and its type, for building tables",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"dist/styles.css"
],
"scripts": {
"dev": "vite dev",
"build": "tsc -b && vite build",
"lint": "eslint .",
"prepublishOnly": "npm run build",
"type-check": "tsc -b --watch",
"test": "vitest --ui",
"coverage": "vitest run --coverage",
"clean": "rm -rf dist node_modules",
"types": "tsc --outDir dist/index.d.ts"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@babel/core": "^7.26.9",
"@eslint/js": "^9.17.0",
"@tailwindcss/cli": "^4.0.9",
"@tailwindcss/postcss": "^4.0.9",
"@tailwindcss/vite": "^4.0.9",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/babel__core": "^7.20.5",
"@types/glob": "^8.1.0",
"@types/node": "^22.13.1",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"antd": "^5.24.3",
"esbuild-plugin-postcss2": "^0.1.2",
"esbuild-plugin-tailwindcss": "^2.0.1",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"jsdom": "^26.0.0",
"postcss": "^8.5.3",
"postcss-cli": "^11.0.0",
"postcss-load-config": "^6.0.1",
"rollup-plugin-visualizer": "^5.14.0",
"tailwindcss": "^4.0.9",
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.5",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-lib-inject-css": "^2.2.1"
},
"author": {
"name": "Stéphane BAZZÉ"
},
"keywords": [
"react",
"typescript",
"table",
"tab",
"component",
"library",
"tailwindcss",
"tailwind",
"tab-lib",
"tab-component",
"tab-lib-react",
"tab-component-react",
"tab-lib-typescript",
"tab-component-typescript",
"tab-lib-react-typescript",
"tab-component-react-typescript",
"tab-lib-react-tailwind",
"tab-component-react-tailwind",
"tab-lib-react-tailwind-typescript",
"tab-component-react-tailwind-typescript",
"tab-lib-react-tailwind-typescript"
],
"dependencies": {
"@heroicons/react": "^2.2.0",
"@heroui/button": "^2.2.16",
"@heroui/dropdown": "^2.3.16",
"@heroui/react": "^2.7.5",
"@vitest/coverage-v8": "^3.0.9",
"@vitest/ui": "^3.0.9",
"uuid": "^11.1.0",
"vitest": "^3.0.9"
}
}