UNPKG

pick-distinct-colors

Version:

A collection of algorithms and utilities for analyzing and selecting maximally distinct colors. Now includes a unified pickDistinctColors API for easy color selection.

73 lines (72 loc) 1.91 kB
{ "name": "pick-distinct-colors", "version": "0.2.2", "description": "A collection of algorithms and utilities for analyzing and selecting maximally distinct colors. Now includes a unified pickDistinctColors API for easy color selection.", "main": "dist/index.js", "module": "dist/index.mjs", "type": "module", "scripts": { "build": "npx rollup -c", "dev": "npx rollup -c -w", "test": "npx jest --passWithNoTests", "lint": "npx eslint src/**/*.js", "format": "npx prettier --write \"src/**/*.js\"", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "keywords": [ "color", "distance", "lab", "deltaE", "color-analysis", "color-selection", "color-palette", "distinct-colors", "color-picker", "pickDistinctColors", "color-algorithms" ], "author": "Bence Damokos", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/bdamokos/pick-distinct-colors.git" }, "bugs": { "url": "https://github.com/bdamokos/pick-distinct-colors/issues" }, "homepage": "https://github.com/bdamokos/pick-distinct-colors#readme", "dependencies": {}, "devDependencies": { "@babel/core": "^7.23.6", "@babel/preset-env": "^7.23.6", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "http-server": "^14.1.1", "jest": "^29.7.0", "prettier": "^3.1.1", "rollup": "^4.9.1" }, "files": [ "dist", "src", "js", "css", "index.html", "README.md", "LICENSE" ], "npmignore": [ "scripts/" ], "engines": { "node": ">=14.0.0" } }