nextjs-reusable-table
Version:
A production-ready, highly customizable and reusable table component for Next.js applications. Features include sorting, pagination, search, dark mode, TypeScript support, and zero dependencies.
142 lines (141 loc) • 4.16 kB
JSON
{
"name": "nextjs-reusable-table",
"version": "4.1.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./styles.css": "./dist/index.css"
},
"files": [
"dist",
"skills",
"llms.txt",
"llms-full.txt",
"README.md",
"LICENSE"
],
"agents": {
"skills": [
{
"name": "nextjs-reusable-table",
"path": "./skills/nextjs-reusable-table"
}
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ninsau/nextjs-reusable-table.git"
},
"bugs": {
"url": "https://github.com/ninsau/nextjs-reusable-table/issues"
},
"homepage": "https://github.com/ninsau/nextjs-reusable-table#readme",
"scripts": {
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
"build": "tsup src/index.ts --format esm,cjs --dts && npm run build:css",
"build:css": "tailwindcss -i src/styles/tableStyles.css -o dist/index.css --minify",
"build:dev": "tsup src/index.ts --format esm,cjs --dts --minify=false && npm run build:css",
"build:analyze": "npm run build && npx @next/bundle-analyzer dist",
"clean": "rm -rf dist coverage .next",
"clean:all": "rm -rf dist coverage node_modules .next",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false",
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --runInBand",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"format": "biome format --write .",
"format:check": "biome format --check .",
"check": "biome check .",
"check:fix": "biome check --write .",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch",
"validate": "npm run lint && npm run type-check && npm run test && npm run build",
"validate:quick": "npm run lint && npm run type-check && npm run test",
"prepublishOnly": "npm run validate",
"release": "npm run clean && npm run validate && npm version",
"release:patch": "npm run release patch",
"release:minor": "npm run release minor",
"release:major": "npm run release major",
"docs": "npm run build && echo 'Documentation built successfully!'",
"size": "du -sh dist/*",
"deps": "npm audit",
"deps:fix": "npm audit fix",
"outdated": "npm outdated"
},
"author": "ninsau",
"license": "ISC",
"description": "A production-ready, highly customizable and reusable table component for Next.js applications. Features include sorting, pagination, search, dark mode, TypeScript support, and zero dependencies.",
"devDependencies": {
"@biomejs/biome": "^2.2.0",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"autoprefixer": "^10.4.20",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.0.5",
"postcss": "^8.4.47",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-loading-skeleton": "^3.5.0",
"tailwindcss": "^3.4.13",
"ts-jest": "^29.4.1",
"tsup": "^8.3.0",
"typescript": "^5.8.0"
},
"peerDependencies": {
"next": ">=13",
"react": ">=18",
"react-dom": ">=18",
"tailwindcss": ">=3.0.0"
},
"keywords": [
"nextjs",
"next.js",
"react",
"react19",
"typescript",
"table",
"data-table",
"datagrid",
"grid",
"component",
"ui-component",
"data-grid",
"data-display",
"sorting",
"pagination",
"search",
"filter",
"responsive",
"tailwindcss",
"dark-mode",
"accessibility",
"a11y",
"production-ready",
"zero-dependencies",
"tree-shakable",
"customizable",
"reusable",
"modern",
"performant",
"tested",
"enterprise",
"dashboard",
"admin",
"crud",
"headless",
"ai-ready"
]
}