{
  "name": "color-legend-element",
  "version": "1.5.0",
  "description": "A custom element (web component) suitable for use as a legend in data visualizations",
  "main": "index.js",
  "module": "index.js",
  "type": "module",
  "types": "build/index.d.ts",
  "files": [
    "build/**/*.js",
    "build/**/*.d.ts",
    "!build/test/*",
    "custom-elements.json"
  ],
  "unpkg": "build/color-legend-element.umd.js",
  "jsdelivr": "build/color-legend-element.umd.js",
  "exports": {
    "umd": "./build/color-legend-element.umd.js",
    "default": "./index.js"
  },
  "customElements": "custom-elements.json",
  "scripts": {
    "analyze": "cem analyze --litelement --globs \"src/(color-legend-element|constants).ts\" --exclude \"src/**/*_test.ts\"",
    "analyze:watch": "npm run analyze -- --watch",
    "build": "tsc",
    "build:watch": "tsc --watch",
    "bundle": "rollup -c",
    "docs": "npm run docs:clean && npm run build && npm run bundle && npm run docs:gen",
    "docs:gen": "npx @11ty/eleventy --config=.eleventy.cjs --input=docs-src --output=docs",
    "docs:clean": "rimraf docs",
    "docs:serve": "npm run docs:gen -- --serve",
    "docs:watch": "npm run docs:gen -- --watch",
    "docs:debug": "DEBUG=* npm run docs:gen",
    "format": "prettier \"**/*.{cjs,html,js,json,md,ts,css}\" --ignore-path ./.eslintignore --write",
    "lint": "npm run lint:lit-analyzer && npm run lint:eslint",
    "lint:eslint": "eslint 'src/**/*.ts'",
    "lint:lit-analyzer": "lit-analyzer",
    "version": "npm run docs && git add docs",
    "release": "np",
    "serve": "wds --open=./dev --watch",
    "serve:prod": "MODE=prod npm run serve",
    "test": "npm run test:dev && npm run test:prod",
    "test:dev": "wtr",
    "test:watch": "wtr --watch",
    "test:prod": "MODE=prod wtr",
    "test:prod:watch": "MODE=prod wtr --watch",
    "prepare": "node .husky/install.mjs"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/clhenrick/color-legend-element.git"
  },
  "keywords": [
    "web-components",
    "custom-elements",
    "data-visualization",
    "legend",
    "lit",
    "lit-element",
    "d3",
    "d3js"
  ],
  "author": "Chris Henrick <chrishenrick@gmail.com> (https://clhenrick.io/)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/clhenrick/color-legend-element/issues"
  },
  "homepage": "https://clhenrick.github.io/color-legend-element/",
  "dependencies": {
    "lit": "^2.8.0 || ^3.1.0"
  },
  "peerDependencies": {
    "d3-array": "^3.1.1",
    "d3-format": "^3.1.0",
    "d3-interpolate": "^3.0.1",
    "d3-scale": "^4.0.2",
    "d3-scale-chromatic": "^3.0.0"
  },
  "devDependencies": {
    "@11ty/eleventy": "^2.0.1",
    "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
    "@custom-elements-manifest/analyzer": "^0.9.3",
    "@esm-bundle/chai": "^4.3.4",
    "@open-wc/testing": "^4.0.0",
    "@open-wc/testing-karma": "^4.0.9",
    "@rollup/plugin-node-resolve": "^15.2.3",
    "@rollup/plugin-replace": "^5.0.5",
    "@types/d3": "^7.4.3",
    "@types/mocha": "^10.0.6",
    "@types/node": "^20.11.24",
    "@typescript-eslint/eslint-plugin": "^7.1.0",
    "@typescript-eslint/parser": "^7.1.0",
    "@web/dev-server": "^0.4.3",
    "@web/dev-server-esbuild": "^1.0.2",
    "@web/dev-server-legacy": "^2.1.0",
    "@web/dev-server-rollup": "^0.6.1",
    "@web/test-runner": "^0.18.0",
    "@web/test-runner-mocha": "^0.9.0",
    "@web/test-runner-playwright": "^0.11.0",
    "@webcomponents/webcomponentsjs": "^2.8.0",
    "deepmerge": "^4.3.1",
    "eslint": "^8.57.0",
    "husky": "^9.0.11",
    "lint-staged": "^15.2.2",
    "lit-analyzer": "^2.0.3",
    "mocha": "^10.3.0",
    "np": "^10.0.0",
    "prettier": "^3.2.5",
    "prismjs": "^1.29.0",
    "rimraf": "^5.0.5",
    "rollup": "^2.79.1",
    "rollup-plugin-summary": "^2.0.0",
    "rollup-plugin-terser": "^7.0.2",
    "typescript": "^5.3.3"
  },
  "lint-staged": {
    "*.{js,ts,cjs,mjs}": "eslint --cache --fix",
    "*.{html,js,cjs,mjs,json,md,ts,css}": "npm run format --"
  },
  "np": {
    "branch": "main",
    "yarn": false,
    "contents": "./build",
    "message": "color-legend-element v%s"
  },
  "engines": {
    "node": ">=22"
  }
}
