UNPKG

@johnny95731/color-utils

Version:

High-performance color utilities that including conversions, harmonies, mix, and sort.

78 lines (77 loc) 2.18 kB
{ "name": "@johnny95731/color-utils", "version": "2.0.0", "author": "johnny95731 <johnny95731@gmail.com>", "license": "MIT", "description": "High-performance color utilities that including conversions, harmonies, mix, and sort.", "keywords": [ "color", "color-utils", "rgb", "hex", "hsl", "hsv", "hwb", "cmyk", "xyz", "lab", "luv", "lch", "harmony", "converter", "sort" ], "repository": { "type": "git", "url": "https://github.com/johnny95731/color-utils.git" }, "type": "module", "sideEffects": false, "files": [ "dist" ], "publishConfig": { "access": "public" }, "devDependencies": { "@eslint/js": "^9.22.0", "@jest/globals": "^29.7.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.2", "@types/node": "^22.14.1", "color": "^5.0.0", "color-convert": "^3.1.0", "color-diff": "^1.4.0", "colord": "^2.9.3", "eslint": "^9.22.0", "eslint-plugin-jest": "^28.11.0", "globals": "^16.0.0", "jest": "^29.7.0", "rollup": "^4.37.0", "rollup-plugin-dts": "^6.2.1", "terser": "^5.39.0", "tinybench": "^3.1.1", "tslib": "^2.8.1", "typescript": "^5.8.2", "typescript-eslint": "^8.26.1" }, "main": "dist/index.js", "module": "dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./package.json": "./package.json" }, "scripts": { "build": "rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript", "min": "rollup -c rollup.config.min.ts --configPlugin @rollup/plugin-typescript", "pkg": "rollup -c rollup.config.pkg.ts --configPlugin @rollup/plugin-typescript", "watch": "rollup -c rollup.config.watch.ts --configPlugin @rollup/plugin-typescript -w", "benchmark": "node ./test/trans-perf.js", "equiv": "node ./test/trans-equiv-tests.js", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --watchAll" } }