UNPKG

react-color-pikr

Version:

A modern, customizable React color picker component library with 8-digit HEX alpha support

109 lines (108 loc) 3.82 kB
{ "name": "react-color-pikr", "private": false, "version": "1.1.2", "type": "module", "description": "A modern, customizable React color picker component library with 8-digit HEX alpha support", "main": "./dist/react-color-pikr.umd.js", "module": "./dist/react-color-pikr.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/react-color-pikr.js", "require": "./dist/react-color-pikr.umd.js" } }, "files": [ "dist" ], "keywords": [ "react", "color", "picker", "color-picker", "colorpicker", "color-selector", "color-chooser", "component", "ui", "ui-component", "react-component", "typescript", "hex", "alpha", "rgba", "hsv", "hsl", "rgb", "accessibility", "a11y", "mobile-friendly", "touch-friendly", "zero-dependencies", "lightweight", "modern", "customizable", "8-digit-hex", "alpha-channel", "transparency", "design-system", "frontend", "web-components", "color-palette", "color-wheel", "saturation", "hue", "value", "lightness" ], "author": "Sunil Soundarapandian <sunil.soundarapandian@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/ssunils/react-color-pikr.git" }, "homepage": "https://ssunils.github.io/react-color-pikr", "bugs": { "url": "https://github.com/ssunils/react-color-pikr/issues" }, "scripts": { "dev": "vite", "build": "tsc -b && vite build", "build:demo": "tsc -b && vite build", "build:lib": "vite build --mode lib && npx tsc src/index.ts --declaration --emitDeclarationOnly --outDir dist --moduleResolution bundler --target ES2022 --jsx react-jsx --strict", "lint": "eslint .", "lint:fix": "eslint . --fix", "preview": "vite preview", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build:lib", "test": "echo \"No tests specified\" && exit 0", "validate-release": "./scripts/validate-release.sh", "deploy-pages": "./scripts/deploy-pages.sh", "release:patch": "npm version patch --no-git-tag-version && git add package.json && git commit -m \"chore: bump version to $(node -p 'require(\"./package.json\").version')\" && git tag v$(node -p 'require(\"./package.json\").version') && git push origin main --tags", "release:minor": "npm version minor --no-git-tag-version && git add package.json && git commit -m \"chore: bump version to $(node -p 'require(\"./package.json\").version')\" && git tag v$(node -p 'require(\"./package.json\").version') && git push origin main --tags", "release:major": "npm version major --no-git-tag-version && git add package.json && git commit -m \"chore: bump version to $(node -p 'require(\"./package.json\").version')\" && git tag v$(node -p 'require(\"./package.json\").version') && git push origin main --tags", "release:beta": "npm version prerelease --preid=beta --no-git-tag-version && git add package.json && git commit -m \"chore: bump version to $(node -p 'require(\"./package.json\").version')\" && git tag v$(node -p 'require(\"./package.json\").version') && git push origin main --tags" }, "dependencies": { "react": "^19.1.0", "react-dom": "^19.1.0" }, "devDependencies": { "@eslint/js": "^9.30.1", "@types/node": "^24.2.0", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@vitejs/plugin-react": "^4.6.0", "eslint": "^9.30.1", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", "globals": "^16.3.0", "lucide-react": "^0.536.0", "typescript": "~5.8.3", "typescript-eslint": "^8.35.1", "vite": "^7.0.4", "vite-plugin-dts": "^4.5.4" } }