{
  "name": "@unpunnyfuns/swatchbook-core",
  "version": "2.2.0",
  "description": "Framework-free core for loading and emitting DTCG design tokens.",
  "license": "MIT",
  "author": "unpunnyfuns <unpunnyfuns@gmail.com>",
  "homepage": "https://unpunnyfuns.github.io/swatchbook/",
  "bugs": "https://github.com/unpunnyfuns/swatchbook/issues",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/unpunnyfuns/swatchbook.git",
    "directory": "packages/core"
  },
  "keywords": [
    "design-tokens",
    "dtcg",
    "design-system",
    "tokens",
    "css-variables",
    "terrazzo",
    "typescript"
  ],
  "type": "module",
  "engines": {
    "node": ">=24.14.0"
  },
  "main": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "import": "./dist/index.mjs"
    },
    "./fuzzy": {
      "types": "./dist/fuzzy.d.mts",
      "import": "./dist/fuzzy.mjs"
    },
    "./graph": {
      "types": "./dist/token-graph/index.d.mts",
      "import": "./dist/token-graph/index.mjs"
    },
    "./css-var": {
      "types": "./dist/css-var.d.mts",
      "import": "./dist/css-var.mjs"
    },
    "./color-formats": {
      "types": "./dist/color-formats.d.mts",
      "import": "./dist/color-formats.mjs"
    },
    "./format-color": {
      "types": "./dist/format-color.d.mts",
      "import": "./dist/format-color.mjs"
    },
    "./data-attr": {
      "types": "./dist/data-attr.d.mts",
      "import": "./dist/data-attr.mjs"
    },
    "./snapshot-for-wire": {
      "types": "./dist/snapshot-for-wire.d.mts",
      "import": "./dist/snapshot-for-wire.mjs"
    },
    "./match-path": {
      "types": "./dist/match-path.d.mts",
      "import": "./dist/match-path.mjs"
    },
    "./style-element": {
      "types": "./dist/style-element.d.mts",
      "import": "./dist/style-element.mjs"
    },
    "./themes": {
      "types": "./dist/themes.d.mts",
      "import": "./dist/themes.mjs"
    },
    "./token-value-types": {
      "types": "./dist/token-value-types.d.mts",
      "import": "./dist/token-value-types.mjs"
    },
    "./token-value-css": {
      "types": "./dist/token-value-css.d.mts",
      "import": "./dist/token-value-css.mjs"
    }
  },
  "imports": {
    "#/*": "./src/*"
  },
  "files": [
    "dist"
  ],
  "sideEffects": false,
  "dependencies": {
    "@leeoniya/ufuzzy": "1.0.19",
    "@terrazzo/json-schema-tools": "^0.3.0",
    "@terrazzo/parser": "^2.7.1",
    "@terrazzo/plugin-css": "^2.7.1",
    "@terrazzo/plugin-token-listing": "0.1.2",
    "@terrazzo/token-tools": "^2.7.1",
    "colorjs.io": "^0.7.1"
  },
  "peerDependencies": {
    "@terrazzo/parser": "^2.3.0",
    "@terrazzo/plugin-css": "^2.3.0"
  },
  "devDependencies": {
    "@types/node": "^25.6.0",
    "@vitest/ui": "^4.1.11",
    "tsdown": "^0.21.9",
    "typescript": "^6.0.3",
    "vitest": "^4.1.11",
    "@unpunnyfuns/swatchbook-tokens": "0.0.1"
  },
  "scripts": {
    "build": "tsdown src/index.ts src/fuzzy.ts src/token-graph/index.ts src/css-var.ts src/color-formats.ts src/format-color.ts src/data-attr.ts src/snapshot-for-wire.ts src/match-path.ts src/style-element.ts src/themes.ts src/token-value-types.ts src/token-value-css.ts --format esm --dts --clean --sourcemap",
    "typecheck": "tsc --noEmit",
    "test": "vitest run --typecheck",
    "coverage": "vitest run --coverage --coverage.provider=v8 --coverage.reporter=text --coverage.include='src/**' --coverage.all",
    "test:bench": "vitest bench --run",
    "test:watch": "vitest",
    "lint": "oxlint --deny-warnings -c ../../.oxlintrc.json src test",
    "format": "oxfmt -c ../../.oxfmtrc.json src",
    "format:check": "oxfmt --check -c ../../.oxfmtrc.json src"
  }
}