zentrixui
Version:
ZentrixUI - A modern, highly customizable and accessible React file upload component library with multiple variants, JSON-based configuration, and excellent developer experience.
159 lines • 4.49 kB
JSON
{
"name": "zentrixui",
"private": false,
"version": "1.0.1",
"description": "ZentrixUI - A modern, highly customizable and accessible React file upload component library with multiple variants, JSON-based configuration, and excellent developer experience.",
"type": "module",
"keywords": [
"zentrixui",
"react",
"file-upload",
"component-library",
"typescript",
"tailwindcss",
"accessibility",
"drag-drop",
"radix-ui",
"customizable",
"json-config",
"ui-components",
"modern-ui"
],
"author": "Swarnendu Maity",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/swarnendu19/zentrixui.git"
},
"bugs": {
"url": "https://github.com/swarnendu19/zentrixui/issues"
},
"homepage": "https://zentrixui.com",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"./components": {
"import": {
"types": "./dist/components.d.ts",
"default": "./dist/components.js"
},
"require": {
"types": "./dist/components.d.ts",
"default": "./dist/components.cjs"
}
},
"./config": {
"import": {
"types": "./dist/config.d.ts",
"default": "./dist/config.js"
},
"require": {
"types": "./dist/config.d.ts",
"default": "./dist/config.cjs"
}
},
"./utils": {
"import": {
"types": "./dist/utils.d.ts",
"default": "./dist/utils.js"
},
"require": {
"types": "./dist/utils.d.ts",
"default": "./dist/utils.cjs"
}
},
"./theme": {
"import": {
"types": "./dist/theme.d.ts",
"default": "./dist/theme.js"
},
"require": {
"types": "./dist/theme.d.ts",
"default": "./dist/theme.cjs"
}
},
"./styles": "./dist/style.css",
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": [
"*.css",
"./dist/style.css"
],
"scripts": {
"dev": "vite",
"build": "npm run clean && npm run build:lib && npm run build:demo",
"build:lib": "vite build --mode lib",
"build:demo": "vite build --mode demo",
"build:types": "tsc -p tsconfig.lib.json --emitDeclarationOnly",
"clean": "rimraf dist dist-demo",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"preview": "vite preview",
"preview:demo": "vite preview --outDir dist-demo",
"test": "vitest",
"test:run": "vitest run",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"pack:local": "npm pack",
"prepublishOnly": "npm run clean && npm run build:lib",
"postbuild": "npm run test:build",
"test:build": "node -e \"console.log('Build test: checking exports...'); require('./dist/index.cjs'); import('./dist/index.js').then(() => console.log('✓ Build test passed'))\"",
"size-check": "bundlesize",
"release": "npm run prepublishOnly && npm publish",
"release:beta": "npm run prepublishOnly && npm publish --tag beta"
},
"dependencies": {
"@radix-ui/react-slot": "^1.2.3",
"@tailwindcss/vite": "^4.1.11",
"@types/react-syntax-highlighter": "^15.5.13",
"clsx": "^2.1.1",
"lucide-react": "^0.536.0",
"react-syntax-highlighter": "^15.6.1",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.11"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.1.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
"@vitest/ui": "^3.2.4",
"eslint": "^9.30.1",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"jsdom": "^26.1.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"vite": "^7.0.4",
"vite-plugin-dts": "^4.5.4",
"vitest": "^3.2.4"
}
}