{
  "name": "color-space",
  "description": "Open collection of color spaces",
  "version": "3.6.0",
  "mcpName": "io.github.colorjs/color-space",
  "author": "Dmitry Ivanov <df.creative@gmail.com>",
  "type": "module",
  "keywords": [
    "color",
    "colour",
    "color-space",
    "color-conversion",
    "color-science",
    "rgb",
    "hsl",
    "hsv",
    "lab",
    "xyz",
    "oklab",
    "oklch",
    "lch",
    "cmyk",
    "yuv",
    "p3",
    "rec2020",
    "hdr",
    "wide-gamut",
    "css-color",
    "perceptual",
    "chromatic-adaptation",
    "cam16",
    "ciecam02",
    "munsell",
    "aces",
    "slog3",
    "cinema"
  ],
  "repository": "colorjs/color-space",
  "homepage": "https://color-space.io/",
  "bugs": "https://github.com/colorjs/color-space/issues",
  "funding": "https://github.com/sponsors/colorjs",
  "license": "CC0-1.0",
  "engines": {
    "node": ">=20.10"
  },
  "publishConfig": {
    "access": "public"
  },
  "main": "./index.js",
  "types": "./types/index.d.ts",
  "files": [
    "/*.js",
    "spaces",
    "data.json",
    "conformance.json",
    "wasm",
    "gl",
    "types",
    "dist",
    "docs",
    "web/js/categories.js",
    "web/js/purpose.js",
    "web/js/names.js",
    "web/js/measure.js",
    "web/js/cvd.js",
    "web/js/visible.js",
    "web/js/python.js",
    "CHANGELOG.md"
  ],
  "bin": {
    "color-space": "./cli.js",
    "colr": "./cli.js",
    "color-space-mcp": "./mcp.js"
  },
  "exports": {
    ".": {
      "types": "./types/index.d.ts",
      "default": "./index.js"
    },
    "./index.js": {
      "types": "./types/index.d.ts",
      "default": "./index.js"
    },
    "./lite": {
      "types": "./types/lite.d.ts",
      "default": "./lite.js"
    },
    "./lite.js": {
      "types": "./types/lite.d.ts",
      "default": "./lite.js"
    },
    "./lut": {
      "types": "./types/lut.d.ts",
      "default": "./lut.js"
    },
    "./lut.js": {
      "types": "./types/lut.d.ts",
      "default": "./lut.js"
    },
    "./ocio": {
      "types": "./types/ocio.d.ts",
      "default": "./ocio.js"
    },
    "./ocio.js": {
      "types": "./types/ocio.d.ts",
      "default": "./ocio.js"
    },
    "./icc": {
      "types": "./types/icc.d.ts",
      "default": "./icc.js"
    },
    "./icc.js": {
      "types": "./types/icc.d.ts",
      "default": "./icc.js"
    },
    "./data.json": "./data.json",
    "./conformance.json": "./conformance.json",
    "./data": null,
    "./wasm": {
      "types": "./types/wasm.d.ts",
      "default": "./wasm.js"
    },
    "./wasm.js": {
      "types": "./types/wasm.d.ts",
      "default": "./wasm.js"
    },
    "./wasm/spaces": {
      "types": "./types/wasm-spaces.d.ts",
      "default": "./wasm/spaces.js"
    },
    "./wasm/spaces.js": {
      "types": "./types/wasm-spaces.d.ts",
      "default": "./wasm/spaces.js"
    },
    "./color-space.wasm": "./dist/color-space.wasm",
    "./gl": {
      "types": "./types/gl.d.ts",
      "default": "./gl/compose.js"
    },
    "./gl/all": {
      "types": "./types/gl-all.d.ts",
      "default": "./gl/index.js"
    },
    "./gl/wgsl": {
      "types": "./types/gl-wgsl.d.ts",
      "default": "./gl/wgsl.js"
    },
    "./gl/translate": {
      "types": "./types/gl-translate.d.ts",
      "default": "./gl/translate.js"
    },
    "./gl/hlsl": {
      "types": "./types/gl-hlsl.d.ts",
      "default": "./gl/hlsl.js"
    },
    "./gl/msl": {
      "types": "./types/gl-msl.d.ts",
      "default": "./gl/msl.js"
    },
    "./gl/naga": {
      "types": "./types/gl-naga.d.ts",
      "default": "./gl/naga.js"
    },
    "./gl/compose.js": {
      "types": "./types/gl.d.ts",
      "default": "./gl/compose.js"
    },
    "./gl/index.js": {
      "types": "./types/gl-all.d.ts",
      "default": "./gl/index.js"
    },
    "./gl/wgsl.js": {
      "types": "./types/gl-wgsl.d.ts",
      "default": "./gl/wgsl.js"
    },
    "./gl/translate.js": {
      "types": "./types/gl-translate.d.ts",
      "default": "./gl/translate.js"
    },
    "./gl/hlsl.js": {
      "types": "./types/gl-hlsl.d.ts",
      "default": "./gl/hlsl.js"
    },
    "./gl/msl.js": {
      "types": "./types/gl-msl.d.ts",
      "default": "./gl/msl.js"
    },
    "./gl/naga.js": {
      "types": "./types/gl-naga.d.ts",
      "default": "./gl/naga.js"
    },
    "./gl/util.js": {
      "types": "./types/gl-util.d.ts",
      "default": "./gl/util.js"
    },
    "./gl/*.glsl.js": {
      "types": "./types/gl-chunk.d.ts",
      "default": "./gl/*.glsl.js"
    },
    "./gl/*.js": {
      "types": "./types/gl-chunk.d.ts",
      "default": "./gl/*.js"
    },
    "./gl/*": {
      "types": "./types/gl-chunk.d.ts",
      "default": "./gl/*.glsl.js"
    },
    "./hub.js": {
      "types": "./types/hub.d.ts",
      "default": "./hub.js"
    },
    "./mcp.js": {
      "types": "./types/mcp.d.ts",
      "default": "./mcp.js"
    },
    "./gamuts.js": {
      "types": "./types/gamuts.d.ts",
      "default": "./gamuts.js"
    },
    "./whitepoints.js": {
      "types": "./types/whitepoints.d.ts",
      "default": "./whitepoints.js"
    },
    "./util": {
      "types": "./types/util.d.ts",
      "default": "./util.js"
    },
    "./util.js": {
      "types": "./types/util.d.ts",
      "default": "./util.js"
    },
    "./transfers.js": {
      "types": "./types/transfers.d.ts",
      "default": "./transfers.js"
    },
    "./cie.js": {
      "types": "./types/cie.d.ts",
      "default": "./cie.js"
    },
    "./spaces/*.js": {
      "types": "./types/*.d.ts",
      "default": "./spaces/*.js"
    },
    "./*.js": {
      "types": "./types/*.d.ts",
      "default": "./spaces/*.js"
    },
    "./*": {
      "types": "./types/*.d.ts",
      "default": "./spaces/*.js"
    }
  },
  "devDependencies": {
    "@axe-core/playwright": "^4.12.1",
    "@texel/color": "^1.1.11",
    "chroma-js": "^3.1.2",
    "chromotome": "^1.21.4",
    "color-convert": "^2.0.1",
    "color-name": "^2.0.0",
    "color-name-list": "^14.55.0",
    "colorjs.io": "^0.5.2",
    "colormap": "^2.3.2",
    "culori": "^4.0.1",
    "d3-color": "^3.1.0",
    "d3-scale-chromatic": "^3.1.0",
    "dictionary-of-colour-combinations": "^1.0.2",
    "esbuild": "^0.28.1",
    "jz": "^0.9.2",
    "libheif-js": "^1.19.8",
    "lighthigh": "^1.0.1",
    "naga-wasm": "30.2.0",
    "nice-color-palettes": "^4.0.0",
    "playwright": "^1.61.1",
    "tailwindcss-webgradients": "^1.0.2",
    "tst": "^9.0.0",
    "typescript": "^5.8.2",
    "uigradients.gradients": "^2.0.2-2",
    "watr": "^3.1.0",
    "wgsl_reflect": "^1.5.0"
  },
  "peerDependencies": {
    "naga-wasm": "^30.2.0"
  },
  "peerDependenciesMeta": {
    "naga-wasm": {
      "optional": true
    }
  },
  "scripts": {
    "test": "node test && node test/cie.js && node test/measure.js && node test/util.js && node test/aces-vendor.js && node test/batch.js && node test/wasm-batch.js && node test/wasm-standalone.js && node test/gl.js && node test/wgsl.js && node test/hlsl.js && node test/visible.js && node test/lut.js && node test/lut-ffmpeg.js && node test/icc.js && node test/icc-colorsync.js && node test/mcp.js && node test/cli.js && npm run test:types && node test/ocio.js",
    "test:site": "node test/site.js && node test/i18n.js && npm run test:browser && npm run test:a11y",
    "test:types": "tsc --noEmit --strict --target ES2022 --module NodeNext --moduleResolution NodeNext --skipLibCheck false test/types/smoke.ts && tsc --noEmit --strict --target ES2022 --module ESNext --moduleResolution Bundler --skipLibCheck false test/types/smoke.ts",
    "test:package": "node scripts/test-package.js",
    "test:gpu": "node scripts/check-gl-gpu.js",
    "test:browser": "node scripts/check-site.js",
    "test:a11y": "node scripts/check-a11y.js",
    "test:figma": "node scripts/check-figma.js",
    "test:vscode": "node scripts/check-vscode.js",
    "benchmark": "node benchmark/compare.js",
    "signals": "node scripts/signals.js",
    "types": "node scripts/generate-types.js",
    "data": "node scripts/generate-data.js",
    "landing": "node scripts/build-site.js",
    "i18n": "node scripts/i18n-extract.js",
    "banner": "node scripts/generate-banner.js",
    "icon": "node scripts/generate-icon.js",
    "og": "node scripts/generate-og.js",
    "build:wasm": "node scripts/build-wasm.js",
    "build:figma": "node plugins/figma/build.js",
    "build:vscode": "node plugins/vscode/build.js",
    "build": "esbuild ./index.js --bundle --format=esm --outfile=dist/color-space.js && esbuild ./dist/color-space.js --minify --outfile=dist/color-space.min.js && esbuild ./lite.js --bundle --format=esm --outfile=dist/color-space-lite.js && esbuild ./gl/index.js --bundle --format=esm --outfile=dist/color-space-gl.js",
    "prepare": "npm run types && npm run data && npm run build:wasm && npm run build",
    "prepublishOnly": "npm run prepare && npm test && npm run test:package"
  }
}
