{
  "name": "@tmorrow/cre8-wc",
  "version": "2.0.4",
  "description": "cre8 Web Components is a library of presentational UI web components to be consumed by # web applications.",
  "license": "BSD-3-Clause",
  "scripts": {
    "start": "pnpm run build:custom-elements.json && pnpm run storybook",
    "compile-styles": "npx tsx scripts/convert-scss-to-ts.ts",
    "build": "rm -rf lib && pnpm run compile-styles && pnpm build:cdn && vite build && tsc && cp .storybook/custom-elements.json custom-elements.json && pnpm run build:react && pnpm run build:mcp-manifest",
    "build:mcp-manifest": "npx web-component-analyzer analyze \"components/*/*.ts\" --format json --outFile /tmp/wca-raw.json && npx tsx scripts/generate-mcp-manifest.ts",
    "build:cdn": "rm -rf cdn && vite build --config vite.config.cdn.ts",
    "build:react": "rm -rf react-wrappers/components react-wrappers/dist react-wrappers/index.ts && npx tsx scripts/generate-react-wrappers.ts && cd react-wrappers && npx tsc",
    "build:a2ui": "pnpm run build:a2ui:catalog && pnpm run build:a2ui:compile",
    "build:a2ui:catalog": "node a2ui/generate-catalog.mjs",
    "build:a2ui:compile": "tsc --module esnext --moduleResolution bundler --target es2022 --lib es2022,dom,dom.iterable --strict --skipLibCheck --declaration --outDir a2ui a2ui/types.ts a2ui/registry.ts a2ui/renderer.ts a2ui/index.ts",
    "a2ui:demo": "python3 -m http.server 8765",
    "storybook:react": "pnpm run build:react && cd react-wrappers && npx storybook dev -p 9009",
    "build-storybook:react": "pnpm run build:react && cd react-wrappers && npx storybook build -o dist-storybook",
    "build:all": "pnpm run build:cdn && pnpm run build",
    "build:watch": "vite build --watch",
    "build:custom-elements.json": "npx @custom-elements-manifest/analyzer analyze --litelement --globs \"components/*/*.ts\" --outdir .storybook",
    "test": "jest --verbose",
    "test:jenkins": "jest --coverage=false --ci --runInBand --silent --bail",
    "storybook-docs": "storybook dev --docs",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "del-cli dist && storybook build -o dist",
    "plop": "plop component",
    "convert-scss-to-ts": "npx tsx ./scripts/convert-scss-to-ts.ts",
    "plop:page": "plop page",
    "plop:recipe": "plop recipe",
    "lint": "eslint-config --ext .ts,.html . --ignore-path ../../.eslintignore",
    "format": "eslint-config --ext .ts,.html . --fix --ignore-path ../../.eslintignore",
    "publish:react": "cd react-wrappers && npm publish --access public",
    "release:publish": "node scripts/release.cjs --skip-lint --skip-tests --publish",
    "version:bump": "node scripts/version-bump.cjs"
  },
  "type": "module",
  "module": "lib/index.js",
  "types": "lib/index.d.ts",
  "keywords": [
    "web-components",
    "lit-element",
    "typescript",
    "lit"
  ],
  "author": "",
  "files": [
    "dist",
    "lib",
    "cdn",
    "a2ui",
    "mcp-manifest.json"
  ],
  "exports": {
    ".": {
      "import": "./lib/index.js",
      "types": "./lib/index.d.ts"
    },
    "./cdn": {
      "import": "./cdn/cre8-wc.esm.js",
      "default": "./cdn/cre8-wc.min.js"
    },
    "./cdn/cre8-wc.esm.js": "./cdn/cre8-wc.esm.js",
    "./cdn/cre8-wc.min.js": "./cdn/cre8-wc.min.js",
    "./lib/components/*": {
      "import": "./lib/components/*",
      "types": "./lib/components/*",
      "default": "./lib/components/*"
    },
    "./icons/*": {
      "import": "./lib/icons/*",
      "types": "./lib/icons/*",
      "default": "./lib/icons/*"
    },
    "./design-tokens/*": {
      "import": "./lib/design-tokens/*",
      "types": "./lib/design-tokens/*",
      "default": "./lib/design-tokens/*"
    },
    "./global.d.ts": "./global.d.ts",
    "./mcp-manifest.json": "./mcp-manifest.json",
    "./a2ui": {
      "import": "./a2ui/index.js",
      "types": "./a2ui/index.d.ts"
    },
    "./a2ui/catalog.json": "./a2ui/catalog.json",
    "./a2ui/*": {
      "import": "./a2ui/*",
      "types": "./a2ui/*"
    },
    "./package.json": "./package.json"
  },
  "repository": {
    "url": "https://github.com/tmorrowdev/Cre8-Components.git"
  },
  "dependencies": {
    "@a11y/focus-trap": "^1.0.5",
    "@lit/context": "^1.1.6",
    "@lit/react": "^1.0.8",
    "chart.js": "^4.5.1",
    "classnames": "2.5.1",
    "lit": "3.3.1",
    "lit-html": "^3.3.1",
    "nanoid": "^5.1.6",
    "zod": "^4.1.12"
  },
  "devDependencies": {
    "@babel/core": "^7.28.5",
    "@babel/plugin-proposal-class-properties": "^7.18.6",
    "@babel/plugin-proposal-decorators": "^7.28.0",
    "@babel/plugin-transform-typescript": "^7.28.5",
    "@babel/preset-env": "^7.28.5",
    "@babel/preset-typescript": "^7.28.5",
    "@custom-elements-manifest/analyzer": "^0.11.0",
    "@lit-labs/cli": "^0.6.6",
    "@mdx-js/react": "^3.1.1",
    "@mdx-js/rollup": "^3.1.1",
    "@skypack/package-check": "^0.2.2",
    "@storybook/addon-a11y": "10.0.6",
    "@storybook/addon-docs": "10.0.6",
    "@storybook/addon-mcp": "^0.5.0",
    "@storybook/addon-themes": "10.0.6",
    "@storybook/builder-vite": "10.0.6",
    "@storybook/react": "^10.0.6",
    "@storybook/react-vite": "^10.3.5",
    "@storybook/web-components": "^10.0.6",
    "@storybook/web-components-vite": "^10.0.6",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/user-event": "^14.6.1",
    "@types/jest": "^30.0.0",
    "@types/jest-axe": "^3.5.9",
    "@types/resize-observer-browser": "^0.1.11",
    "@types/sanitize-html": "^2.16.0",
    "@typescript-eslint/eslint-plugin": "^8.46.3",
    "@typescript-eslint/parser": "^8.46.3",
    "@vitejs/plugin-react": "^5.2.0",
    "babel-jest": "^30.2.0",
    "clone": "^2.1.2",
    "css-parse": "2.0.0",
    "del-cli": "^7.0.0",
    "dotenv": "^17.2.3",
    "element-internals-polyfill": "^3.0.2",
    "fs": "0.0.1-security",
    "glob": "^11.0.3",
    "identity-obj-proxy": "^3.0.0",
    "jest": "^30.2.0",
    "jest-axe": "^10.0.0",
    "jest-canvas-mock": "^2.5.2",
    "jest-environment-jsdom": "^30.2.0",
    "js-yaml": "^4.1.0",
    "jsdom": "^27.1.0",
    "lint-staged": "^16.2.6",
    "loader-utils": "^3.3.1",
    "marked": "^17.0.0",
    "path": "^0.12.7",
    "plop": "^4.0.4",
    "postcss": "^8.5.6",
    "react": "^19.2.0",
    "react-docgen-typescript": "^2.4.0",
    "react-dom": "^19.2.0",
    "sanitize-html": "^2.17.0",
    "sass": "^1.97.2",
    "storybook": "^10.0.6",
    "style-dictionary": "^5.1.1",
    "style-loader": "^4.0.0",
    "ts-jest": "^29.4.5",
    "ts-lit-plugin": "^2.0.2",
    "ts-node": "^10.9.2",
    "tsx": "^4.21.0",
    "typescript": "^5.9.3",
    "vite": "^7.2.2"
  },
  "lint-staged": {
    "*.ts": "eslint --cache --fix"
  },
  "customElements": ".storybook/custom-elements.json"
}