{
  "name": "chroma-js",
  "description": "JavaScript library for color conversions",
  "version": "3.2.0",
  "author": "Gregor Aisch",
  "type": "module",
  "homepage": "https://github.com/gka/chroma.js",
  "keywords": [
    "color"
  ],
  "maintainers": [
    {
      "name": "Gregor Aisch",
      "email": "mail@driven-by-data.net",
      "web": "https://vis4.net"
    }
  ],
  "bugs": "https://github.com/gka/chroma.js/issues",
  "repository": {
    "type": "git",
    "url": "git://github.com/gka/chroma.js.git"
  },
  "exports": {
    ".": {
      "import": "./index.js",
      "require": "./dist/chroma.cjs"
    },
    "./light": {
      "import": "./index-light.js",
      "require": "./dist/chroma-light.cjs"
    },
    "./src/colors/*.js": {
      "import": "./src/colors/*.js"
    },
    "./src/generator/*.js": {
      "import": "./src/generator/*.js"
    },
    "./src/interpolator/*.js": {
      "import": "./src/interpolator/*.js"
    },
    "./src/io/*.js": {
      "import": "./src/io/*.js"
    },
    "./src/ops/*.js": {
      "import": "./src/ops/*.js"
    },
    "./src/utils/*.js": {
      "import": "./src/utils/*.js"
    }
  },
  "main": "./index.js",
  "devDependencies": {
    "@babel/eslint-parser": "^7.28.5",
    "@eslint/eslintrc": "^3.3.1",
    "@eslint/js": "^9.39.1",
    "@rollup/plugin-buble": "^1.0.3",
    "@rollup/plugin-terser": "^0.4.4",
    "cross-env": "^10.1.0",
    "eslint": "^9.39.1",
    "globals": "^16.5.0",
    "http-server": "^14.1.1",
    "husky": "^9.1.7",
    "markdown-to-html": "0.0.13",
    "minimatch": "^10.1.1",
    "prettier": "^3.7.1",
    "rollup": "^4.53.3",
    "rollup-plugin-license": "^3.6.0",
    "vitest": "^4.0.14"
  },
  "publishConfig": {
    "access": "public"
  },
  "license": "(BSD-3-Clause AND Apache-2.0)",
  "spm": {
    "main": "chroma.js",
    "ignore": [
      "src",
      "doc",
      "test"
    ]
  },
  "scripts": {
    "build": "rollup -c && cross-env DEV=1 rollup -c ",
    "docs": "cd docs && make",
    "docs-preview": "cd docs && make && make preview",
    "test": "vitest",
    "test:update": "vitest -u",
    "lint": "prettier --check index.js index.umd.js index.umd.light.js src *.config.js test && eslint index.js index.umd.js index.umd.light.js src",
    "format": "prettier --write index.js index.umd.js index.umd.light.js src *.config.js test"
  }
}