UNPKG

@madulinux/react-select

Version:

Reusable async Select2 component for React with search and cascade support.

66 lines (65 loc) 1.64 kB
{ "name": "@madulinux/react-select", "version": "0.1.6", "description": "Reusable async Select2 component for React with search and cascade support.", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "author": "madulinux <npmjs.com/~madulinux>", "repository": { "type": "git", "url": "https://github.com/madulinux/react-select" }, "license": "MIT", "files": [ "dist" ], "peerDependencies": { "react": ">=17.0.0", "react-dom": ">=17.0.0" }, "scripts": { "test": "jest --passWithNoTests", "build": "npm run build:tsup", "build:tsup": "tsup src/index.tsx --format esm,cjs --dts --out-dir dist --clean" }, "keywords": [ "react", "select", "async", "select2", "dropdown", "component", "madulinux" ], "dependencies": { "@radix-ui/react-dialog": "^1.1.13", "@radix-ui/react-popover": "^1.1.13", "@radix-ui/react-slot": "^1.2.2", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "lucide-react": "^0.508.0", "react": ">=17.0.0", "tailwind-merge": "^3.2.0" }, "devDependencies": { "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@types/jest": "^29.5.14", "identity-obj-proxy": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react-dom": "^18.0.0", "ts-jest": "^29.3.2", "tsup": "^8.4.0", "typescript": "^5.0.0" } }