{
  "name": "sparkdesign",
  "version": "0.4.11",
  "type": "module",
  "description": "Modern React Design System with dual-dimension theme system",
  "keywords": [
    "react",
    "components",
    "design-system",
    "ui-library",
    "tailwind"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nicepkg/spark-design.git"
  },
  "homepage": "https://spark.design",
  "bin": {
    "sparkdesign": "cli/dist/index.js"
  },
  "exports": {
    ".": {
      "types": "./dist/src/components/index.d.ts",
      "import": "./dist/spark-design.es.js",
      "require": "./dist/spark-design.cjs.js"
    },
    "./style": "./dist/sparkdesign.css",
    "./theme.css": "./dist/theme.css",
    "./scale.css": "./dist/scale.css",
    "./katex.css": "./dist/katex.css",
    "./theme-base.css": "./dist/theme-base.css",
    "./agent-manifest.json": "./registry/agent-manifest.json",
    "./token-ontology.json": "./registry/tokens/ontology.json",
    "./ai-readme.md": "./AI_README.md",
    "./agent-quickref.md": "./AGENT_COMPONENT_LIBRARY_QUICKREF.md",
    "./agent-prompt-recipes.md": "./docs/agent/prompt-recipes.md",
    "./agent-component-selection.md": "./docs/agent/component-selection.md",
    "./agent-token-ontology.md": "./docs/agent/token-ontology.md",
    "./system-operating-model.md": "./docs/guides/system-operating-model.md",
    "./agent-usage.md": "./docs/guides/agent-usage.md",
    "./tokens/*": "./dist/tokens/*",
    "./themes/*": "./dist/themes/*",
    "./scale/*": "./dist/scale/*"
  },
  "files": [
    "AI_README.md",
    "AGENT_COMPONENT_LIBRARY_QUICKREF.md",
    "dist",
    "cli/dist",
    "cli/registry",
    "docs/agent",
    "docs/guides/agent-usage.md",
    "docs/guides/system-operating-model.md",
    "registry/agent-manifest.json",
    "registry/tokens/ontology.json"
  ],
  "sideEffects": [
    "*.css",
    "dist/fonts/*"
  ],
  "scripts": {
    "dev": "vite",
    "codemod:p3-headers": "node scripts/codemod-p3-dip-headers.mjs",
    "i18n:p3-en": "node scripts/translate-p3-headers-en.mjs",
    "gen:registry-meta": "node scripts/generate-registry-meta.mjs",
    "check:registry-meta": "node scripts/generate-registry-meta.mjs --check && node scripts/validate-registry-meta.mjs registry && node scripts/validate-registry-meta.mjs cli",
    "check:agent-manifest": "node scripts/validate-agent-manifest.mjs",
    "check:ai-docs": "node scripts/check-ai-docs-package.mjs",
    "check:token-ontology": "node scripts/validate-token-ontology.mjs",
    "check:token-antipatterns": "node scripts/check-token-antipatterns.mjs",
    "check:registry": "node scripts/check-registry-sync.mjs",
    "check:showcase": "node scripts/check-showcase-sync.mjs",
    "check:showcase-quality": "node scripts/check-showcase-quality.mjs",
    "report:agent-coverage": "node scripts/report-agent-manifest-coverage.mjs",
    "check:agent-coverage": "node scripts/report-agent-manifest-coverage.mjs --fail-under=100",
    "gen:demo": "node scripts/gen-demo.mjs",
    "build": "vite build && npx @tailwindcss/cli -i src/lib.css -o dist/sparkdesign.css --minify && tsc -p tsconfig.lib.json && npm run build:cli",
    "build:cli": "cd cli && npm run build",
    "build:css": "npx @tailwindcss/cli -i src/lib.css -o dist/sparkdesign.css --minify",
    "build:watch": "vite build --watch",
    "preview": "vite preview",
    "lint": "eslint .",
    "test": "vitest",
    "test:run": "vitest run",
    "test:ui": "vitest --ui",
    "test:coverage": "vitest run --coverage",
    "test:e2e": "playwright test",
    "test:e2e:ui": "playwright test --ui",
    "size": "size-limit",
    "size:why": "size-limit --why",
    "test:smoke": "node scripts/smoke-test-cli.mjs",
    "test:smoke:vite": "node scripts/smoke-test-cli.mjs vite",
    "test:smoke:next": "node scripts/smoke-test-cli.mjs nextjs",
    "test:smoke:add": "node scripts/smoke-test-cli.mjs pure-add",
    "prepublishOnly": "node scripts/generate-registry-meta.mjs && npm run check:agent-manifest && npm run check:agent-coverage && npm run check:ai-docs && npm run check:token-ontology && npm run check:token-antipatterns && npm run check:showcase-quality && npm run build && node scripts/sync-registry-to-cli.mjs && npm run check:registry-meta"
  },
  "peerDependencies": {
    "react": ">=18.0.0",
    "react-dom": ">=18.0.0"
  },
  "optionalDependencies": {
    "mermaid": "^11.12.0"
  },
  "dependencies": {
    "@radix-ui/react-accordion": "^1.2.12",
    "@radix-ui/react-alert-dialog": "^1.1.15",
    "@radix-ui/react-aspect-ratio": "^1.1.8",
    "@radix-ui/react-avatar": "^1.1.11",
    "@radix-ui/react-checkbox": "^1.3.3",
    "@radix-ui/react-collapsible": "^1.1.12",
    "@radix-ui/react-context-menu": "^2.2.16",
    "@radix-ui/react-dialog": "^1.1.15",
    "@radix-ui/react-dropdown-menu": "^2.1.16",
    "@radix-ui/react-hover-card": "^1.1.15",
    "@radix-ui/react-label": "^2.1.8",
    "@radix-ui/react-popover": "^1.1.15",
    "@radix-ui/react-progress": "^1.1.8",
    "@radix-ui/react-radio-group": "^1.3.8",
    "@radix-ui/react-select": "^2.2.6",
    "@radix-ui/react-separator": "^1.1.8",
    "@radix-ui/react-slider": "^1.3.6",
    "@radix-ui/react-slot": "^1.2.4",
    "@radix-ui/react-switch": "^1.2.6",
    "@radix-ui/react-tabs": "^1.1.2",
    "@radix-ui/react-toggle": "^1.1.10",
    "@radix-ui/react-toggle-group": "^1.1.11",
    "@radix-ui/react-tooltip": "^1.2.8",
    "@rive-app/react-canvas": "^4.26.2",
    "chalk": "^5.3.0",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "cmdk": "^1.1.1",
    "commander": "^12.1.0",
    "diff": "^7.0.0",
    "embla-carousel-react": "^8.6.0",
    "execa": "^9.5.2",
    "framer-motion": "^12.34.0",
    "fs-extra": "^11.2.0",
    "i18next": "^25.8.7",
    "input-otp": "^1.4.2",
    "katex": "^0.16.28",
    "lottie-react": "^2.4.1",
    "lucide-react": "^1.8.0",
    "ora": "^8.1.1",
    "prism-react-renderer": "^2.4.1",
    "prompts": "^2.4.2",
    "radix-ui": "^1.4.3",
    "react-day-picker": "^9.14.0",
    "react-hook-form": "^7.76.0",
    "react-i18next": "^16.5.4",
    "react-markdown": "^10.1.0",
    "react-resizable-panels": "^4.6.2",
    "recharts": "^3.8.1",
    "rehype-katex": "^7.0.1",
    "remark-gfm": "^4.0.1",
    "remark-math": "^6.0.0",
    "sonner": "^2.0.7",
    "tailwind-merge": "^3.4.1",
    "tailwind-variants": "^3.2.2",
    "tailwindcss": "^4.1.18",
    "tailwindcss-animate": "^1.0.7"
  },
  "devDependencies": {
    "@axe-core/playwright": "^4.11.1",
    "@eslint/js": "^9.39.1",
    "@playwright/test": "^1.58.2",
    "@size-limit/file": "^12.0.0",
    "@tailwindcss/cli": "^4.1.18",
    "@tailwindcss/vite": "^4.1.18",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@types/node": "^24.10.13",
    "@types/react": "^19.2.7",
    "@types/react-dom": "^19.2.3",
    "@vitejs/plugin-react": "^5.1.1",
    "@vitest/coverage-v8": "^4.0.18",
    "eslint": "^9.39.1",
    "eslint-plugin-react-hooks": "^7.0.1",
    "eslint-plugin-react-refresh": "^0.4.24",
    "globals": "^16.5.0",
    "jsdom": "^29.1.1",
    "size-limit": "^12.0.0",
    "typescript": "~5.9.3",
    "typescript-eslint": "^8.48.0",
    "vite": "^7.3.1",
    "vitest": "^4.0.18"
  },
  "size-limit": [
    {
      "path": "dist/spark-design.es.js",
      "limit": "550 KB",
      "brotli": false,
      "gzip": false
    }
  ]
}
