308 lines
5.4 KiB
JSON
308 lines
5.4 KiB
JSON
{
|
|
"name": "color-space",
|
|
"description": "Collection of color space conversions",
|
|
"version": "2.3.2",
|
|
"author": "Dmitry Ivanov <df.creative@gmail.com>",
|
|
"type": "module",
|
|
"keywords": [
|
|
"color",
|
|
"colour",
|
|
"color-space",
|
|
"gamut",
|
|
"color-convert",
|
|
"color-conversion",
|
|
"color-conversions",
|
|
"color-translation",
|
|
"color-math",
|
|
"color-data",
|
|
"rgb",
|
|
"xyz",
|
|
"hsl",
|
|
"hsv",
|
|
"hsi",
|
|
"hwb",
|
|
"cmyk",
|
|
"cmy",
|
|
"xyy",
|
|
"yiq",
|
|
"yuv",
|
|
"ydbdr",
|
|
"ycgco",
|
|
"ypbpr",
|
|
"ycbcr",
|
|
"xvycc",
|
|
"yccbccrc",
|
|
"ucs",
|
|
"uvw",
|
|
"jpeg",
|
|
"lab",
|
|
"labh",
|
|
"lms",
|
|
"lchab",
|
|
"luv",
|
|
"lchuv",
|
|
"hsluv",
|
|
"hpluv",
|
|
"cubehelix",
|
|
"coloroid",
|
|
"hcg",
|
|
"hcy",
|
|
"tsl",
|
|
"yes",
|
|
"osaucs",
|
|
"hsp",
|
|
"hsm",
|
|
"lrgb",
|
|
"oklab"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/colorjs/color-space.git"
|
|
},
|
|
"files": [
|
|
"*.js",
|
|
"types",
|
|
"dist"
|
|
],
|
|
"license": "Unlicense",
|
|
"main": "./index.js",
|
|
"types": "./types/index.d.ts",
|
|
"typesVersions": {
|
|
"*": {
|
|
"cmy": [
|
|
"./types/cmy.d.ts"
|
|
],
|
|
"cmy.js": [
|
|
"./types/cmy.d.ts"
|
|
],
|
|
"cmyk": [
|
|
"./types/cmyk.d.ts"
|
|
],
|
|
"cmyk.js": [
|
|
"./types/cmyk.d.ts"
|
|
],
|
|
"coloroid": [
|
|
"./types/coloroid.d.ts"
|
|
],
|
|
"coloroid.js": [
|
|
"./types/coloroid.d.ts"
|
|
],
|
|
"cubehelix": [
|
|
"./types/cubehelix.d.ts"
|
|
],
|
|
"cubehelix.js": [
|
|
"./types/cubehelix.d.ts"
|
|
],
|
|
"hcg": [
|
|
"./types/hcg.d.ts"
|
|
],
|
|
"hcg.js": [
|
|
"./types/hcg.d.ts"
|
|
],
|
|
"hcy": [
|
|
"./types/hcy.d.ts"
|
|
],
|
|
"hcy.js": [
|
|
"./types/hcy.d.ts"
|
|
],
|
|
"hpluv": [
|
|
"./types/hpluv.d.ts"
|
|
],
|
|
"hpluv.js": [
|
|
"./types/hpluv.d.ts"
|
|
],
|
|
"hsi": [
|
|
"./types/hsi.d.ts"
|
|
],
|
|
"hsi.js": [
|
|
"./types/hsi.d.ts"
|
|
],
|
|
"hsl": [
|
|
"./types/hsl.d.ts"
|
|
],
|
|
"hsl.js": [
|
|
"./types/hsl.d.ts"
|
|
],
|
|
"hsluv": [
|
|
"./types/hsluv.d.ts"
|
|
],
|
|
"hsluv.js": [
|
|
"./types/hsluv.d.ts"
|
|
],
|
|
"hsp": [
|
|
"./types/hsp.d.ts"
|
|
],
|
|
"hsp.js": [
|
|
"./types/hsp.d.ts"
|
|
],
|
|
"hsv": [
|
|
"./types/hsv.d.ts"
|
|
],
|
|
"hsv.js": [
|
|
"./types/hsv.d.ts"
|
|
],
|
|
"hwb": [
|
|
"./types/hwb.d.ts"
|
|
],
|
|
"hwb.js": [
|
|
"./types/hwb.d.ts"
|
|
],
|
|
"jpeg": [
|
|
"./types/jpeg.d.ts"
|
|
],
|
|
"jpeg.js": [
|
|
"./types/jpeg.d.ts"
|
|
],
|
|
"lab": [
|
|
"./types/lab.d.ts"
|
|
],
|
|
"lab.js": [
|
|
"./types/lab.d.ts"
|
|
],
|
|
"labh": [
|
|
"./types/labh.d.ts"
|
|
],
|
|
"labh.js": [
|
|
"./types/labh.d.ts"
|
|
],
|
|
"lchab": [
|
|
"./types/lchab.d.ts"
|
|
],
|
|
"lchab.js": [
|
|
"./types/lchab.d.ts"
|
|
],
|
|
"lchuv": [
|
|
"./types/lchuv.d.ts"
|
|
],
|
|
"lchuv.js": [
|
|
"./types/lchuv.d.ts"
|
|
],
|
|
"lms": [
|
|
"./types/lms.d.ts"
|
|
],
|
|
"lms.js": [
|
|
"./types/lms.d.ts"
|
|
],
|
|
"luv": [
|
|
"./types/luv.d.ts"
|
|
],
|
|
"luv.js": [
|
|
"./types/luv.d.ts"
|
|
],
|
|
"munsell": [
|
|
"./types/munsell.d.ts"
|
|
],
|
|
"munsell.js": [
|
|
"./types/munsell.d.ts"
|
|
],
|
|
"osaucs": [
|
|
"./types/osaucs.d.ts"
|
|
],
|
|
"osaucs.js": [
|
|
"./types/osaucs.d.ts"
|
|
],
|
|
"rgb": [
|
|
"./types/rgb.d.ts"
|
|
],
|
|
"rgb.js": [
|
|
"./types/rgb.d.ts"
|
|
],
|
|
"tsl": [
|
|
"./types/tsl.d.ts"
|
|
],
|
|
"tsl.js": [
|
|
"./types/tsl.d.ts"
|
|
],
|
|
"ucs": [
|
|
"./types/ucs.d.ts"
|
|
],
|
|
"ucs.js": [
|
|
"./types/ucs.d.ts"
|
|
],
|
|
"uvw": [
|
|
"./types/uvw.d.ts"
|
|
],
|
|
"uvw.js": [
|
|
"./types/uvw.d.ts"
|
|
],
|
|
"xvycc": [
|
|
"./types/xvycc.d.ts"
|
|
],
|
|
"xvycc.js": [
|
|
"./types/xvycc.d.ts"
|
|
],
|
|
"xyz": [
|
|
"./types/xyz.d.ts"
|
|
],
|
|
"xyz.js": [
|
|
"./types/xyz.d.ts"
|
|
],
|
|
"xyy": [
|
|
"./types/xyy.d.ts"
|
|
],
|
|
"xyy.js": [
|
|
"./types/xyy.d.ts"
|
|
],
|
|
"ycbcr": [
|
|
"./types/ycbcr.d.ts"
|
|
],
|
|
"ycbcr.js": [
|
|
"./types/ycbcr.d.ts"
|
|
],
|
|
"yccbccrc": [
|
|
"./types/yccbccrc.d.ts"
|
|
],
|
|
"yccbccrc.js": [
|
|
"./types/yccbccrc.d.ts"
|
|
],
|
|
"ycgco": [
|
|
"./types/ycgco.d.ts"
|
|
],
|
|
"ycgco.js": [
|
|
"./types/ycgco.d.ts"
|
|
],
|
|
"ydbdr": [
|
|
"./types/ydbdr.d.ts"
|
|
],
|
|
"ydbdr.js": [
|
|
"./types/ydbdr.d.ts"
|
|
],
|
|
"yes": [
|
|
"./types/yes.d.ts"
|
|
],
|
|
"yes.js": [
|
|
"./types/yes.d.ts"
|
|
],
|
|
"yiq": [
|
|
"./types/yiq.d.ts"
|
|
],
|
|
"yiq.js": [
|
|
"./types/yiq.d.ts"
|
|
],
|
|
"ypbpr": [
|
|
"./types/ypbpr.d.ts"
|
|
],
|
|
"ypbpr.js": [
|
|
"./types/ypbpr.d.ts"
|
|
],
|
|
"yuv": [
|
|
"./types/yuv.d.ts"
|
|
],
|
|
"yuv.js": [
|
|
"./types/yuv.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"color-name": "^2.0.0",
|
|
"esbuild": "^0.24.2",
|
|
"tst": "^8.0.2"
|
|
},
|
|
"scripts": {
|
|
"test": "node test",
|
|
"build": "esbuild ./index.js --bundle --format=esm --outfile=dist/color-space.js",
|
|
"min": "esbuild ./dist/color-space.js --minify --outfile=dist/color-space.min.js",
|
|
"prepublishOnly": "npm run build && npm run min"
|
|
}
|
|
}
|