UNPKG

@a_ng_d/utils-ui-color-palette

Version:

Core utilities library for UI Color Palette - a color management plugin for design tools. This library provides the foundational color manipulation, contrast calculation, and palette generation features used in the plugin.

65 lines (64 loc) 1.94 kB
{ "name": "@a_ng_d/utils-ui-color-palette", "private": false, "version": "1.6.2", "description": "Core utilities library for UI Color Palette - a color management plugin for design tools. This library provides the foundational color manipulation, contrast calculation, and palette generation features used in the plugin.", "repository": { "type": "git", "url": "git+https://github.com/a-ng-d/utils-ui-color-palette.git" }, "keywords": [ "color", "contrast", "wcag2", "wcag3", "apca" ], "author": "Aurélien Grimaud", "license": "MIT", "bugs": { "url": "https://github.com/a-ng-d/utils-ui-color-palette/issues" }, "homepage": "https://github.com/a-ng-d/utils-ui-color-palette#readme", "type": "module", "files": [ "dist" ], "exports": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "build": "tsc && vite build", "test": "vitest", "test:coverage": "vitest run --coverage", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint . --ext ts,tsx --fix", "format": "prettier --check .", "format:fix": "prettier --write ." }, "devDependencies": { "@types/apca-w3": "^0.1.3", "@types/chroma-js": "^3.1.1", "@types/node": "^22.10.1", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "@vitest/coverage-v8": "^3.1.4", "dotenv-cli": "^7.4.2", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.31.0", "glob": "^10.3.12", "prettier": "^3.2.5", "typescript": "^5.4.3", "vite": "^6.3.5", "vite-plugin-dts": "^3.9.1", "vite-tsconfig-paths": "^4.3.2", "vitest": "^3.1.4" }, "dependencies": { "@a_ng_d/figmug-utils": "^0.4.0", "apca-w3": "^0.1.9", "chroma-js": "^2.4.2", "hsluv": "^1.0.1" } }