{
  "name": "@spawn-llc/design-system",
  "version": "2.1.1",
  "description": "Spawn Partners brand system — Base UI components, design tokens, and themed CSS. Single source of truth for the Spawn Partners brand.",
  "license": "MIT",
  "type": "module",
  "bin": {
    "spawn-design-system": "bin/cli.mjs"
  },
  "sideEffects": [
    "**/*.css",
    "./dist/fonts.js"
  ],
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./styles.css": "./dist/styles.css",
    "./theme.css": "./dist/theme.css",
    "./fonts": {
      "types": "./dist/fonts.d.ts",
      "import": "./dist/fonts.js"
    },
    "./tokens": {
      "types": "./dist/tokens.generated.d.ts",
      "import": "./dist/tokens.generated.js"
    },
    "./variants": {
      "types": "./dist/variants.d.ts",
      "import": "./dist/variants.js"
    },
    "./tokens.css": "./tokens/tokens.css",
    "./tokens.json": "./tokens/tokens.json",
    "./DESIGN-SYSTEM.md": "./dist/DESIGN-SYSTEM.md",
    "./AGENTS.md": "./AGENTS.md",
    "./*": {
      "types": "./dist/*.d.ts",
      "import": "./dist/*.js"
    }
  },
  "files": [
    "dist",
    "tokens",
    "bin",
    "SPEC.md",
    "README.md",
    "AGENTS.md",
    "DESIGN-SYSTEM.md"
  ],
  "scripts": {
    "prepare": "git config core.hooksPath .githooks || true",
    "postinstall": "node bin/postinstall.mjs",
    "tokens:gen": "node scripts/generate-tokens.mjs",
    "tokens:check": "node scripts/generate-tokens.mjs --check",
    "light-only:check": "node scripts/check-light-only.mjs",
    "palette:check": "node scripts/check-palette.mjs",
    "pretest": "npm run tokens:check && npm run light-only:check && npm run palette:check",
    "build": "npm run clean && npm run tokens:gen && tsup && node scripts/postbuild-directives.mjs && npm run build:css && cp src/styles/theme.css dist/theme.css && cp DESIGN-SYSTEM.md dist/DESIGN-SYSTEM.md",
    "build:css": "tailwindcss -i src/styles/index.css -o dist/styles.css --minify",
    "clean": "rm -rf dist",
    "prepublishOnly": "npm run tokens:check && npm run light-only:check && npm run palette:check && npm run test:contrast && npm run build",
    "release": "npm run release:patch",
    "release:patch": "npm version patch -m \"v%s\" && git push --follow-tags",
    "release:minor": "npm version minor -m \"v%s\" && git push --follow-tags",
    "release:major": "npm version major -m \"v%s\" && git push --follow-tags",
    "typecheck": "tsc --noEmit",
    "dev": "vite --config playground/vite.config.ts",
    "play": "vite --config playground/vite.config.ts",
    "play:build": "vite build --config playground/vite.config.ts",
    "play:typecheck": "tsc --noEmit -p playground/tsconfig.json",
    "test": "vitest run",
    "test:contrast": "vitest run test/contrast.test.ts",
    "test:e2e": "playwright test"
  },
  "dependencies": {
    "@base-ui/react": "^1.6.0",
    "@fontsource-variable/geist": "^5.2.9",
    "@fontsource-variable/geist-mono": "^5.2.8",
    "@fontsource-variable/inter": "^5.2.8",
    "@fontsource-variable/newsreader": "^5.2.10",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "cmdk": "^1.1.1",
    "date-fns": "^4.1.0",
    "embla-carousel-react": "^8.6.0",
    "input-otp": "^1.4.2",
    "lucide-react": "^1.21.0",
    "motion": "^12.42.2",
    "next-themes": "^0.4.6",
    "react-day-picker": "^10.0.1",
    "react-resizable-panels": "^4.0.10",
    "recharts": "^3.8.0",
    "sonner": "^2.0.7",
    "tailwind-merge": "^3.6.0",
    "vaul": "^1.1.2"
  },
  "peerDependencies": {
    "react": "^18.2.0 || ^19.0.0",
    "react-dom": "^18.2.0 || ^19.0.0"
  },
  "devDependencies": {
    "@playwright/test": "^1.61.1",
    "@tailwindcss/cli": "^4.3.1",
    "@tailwindcss/vite": "^4.3.1",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@testing-library/user-event": "^14.6.1",
    "@types/node": "^24.0.0",
    "@types/react": "^19.0.0",
    "@types/react-dom": "^19.0.0",
    "@vitejs/plugin-react": "^5.2.0",
    "jsdom": "^29.1.1",
    "react": "^19.2.0",
    "react-dom": "^19.2.0",
    "shadcn": "^4.11.1",
    "tailwindcss": "^4.3.1",
    "tsup": "^8.5.1",
    "tw-animate-css": "^1.4.0",
    "typescript": "^5.7.0",
    "vite": "^7.3.6",
    "vitest": "^3.2.6"
  }
}
