{
  "name": "@lattice-php/lattice",
  "version": "0.18.0",
  "description": "Server-driven React components for Laravel and Inertia.",
  "license": "MIT",
  "author": "Manuel Christlieb <manuel@christlieb.eu>",
  "type": "module",
  "homepage": "https://latticephp.com",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lattice-php/lattice.git"
  },
  "bugs": {
    "url": "https://github.com/lattice-php/lattice/issues"
  },
  "keywords": [
    "laravel",
    "inertia",
    "react",
    "server-driven-ui"
  ],
  "sideEffects": [
    "**/*.css"
  ],
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./css": "./dist/lattice.css",
    "./action": {
      "types": "./dist/action/index.d.ts",
      "import": "./dist/action/index.js"
    },
    "./appearance": {
      "types": "./dist/appearance/index.d.ts",
      "import": "./dist/appearance/index.js"
    },
    "./chat": {
      "types": "./dist/chat/index.d.ts",
      "import": "./dist/chat/index.js"
    },
    "./clipboard": {
      "types": "./dist/clipboard/index.d.ts",
      "import": "./dist/clipboard/index.js"
    },
    "./core": {
      "types": "./dist/core/index.d.ts",
      "import": "./dist/core/index.js"
    },
    "./form": {
      "types": "./dist/form/index.d.ts",
      "import": "./dist/form/index.js"
    },
    "./form/embed": {
      "types": "./dist/form/embed.d.ts",
      "import": "./dist/form/embed.js"
    },
    "./form/toolkit": {
      "types": "./dist/form/toolkit.d.ts",
      "import": "./dist/form/toolkit.js"
    },
    "./i18n": {
      "types": "./dist/i18n/index.d.ts",
      "import": "./dist/i18n/index.js"
    },
    "./icons": {
      "types": "./dist/icons/index.d.ts",
      "import": "./dist/icons/index.js"
    },
    "./inertia": {
      "types": "./dist/inertia.d.ts",
      "import": "./dist/inertia.js"
    },
    "./layout": {
      "types": "./dist/layout/index.d.ts",
      "import": "./dist/layout/index.js"
    },
    "./notifications": {
      "types": "./dist/notifications/index.d.ts",
      "import": "./dist/notifications/index.js"
    },
    "./page": {
      "types": "./dist/page.d.ts",
      "import": "./dist/page.js"
    },
    "./provider": {
      "types": "./dist/provider.d.ts",
      "import": "./dist/provider.js"
    },
    "./registry": {
      "types": "./dist/registry.d.ts",
      "import": "./dist/registry.js"
    },
    "./remote": {
      "types": "./dist/remote/index.d.ts",
      "import": "./dist/remote/index.js"
    },
    "./table": {
      "types": "./dist/table/index.d.ts",
      "import": "./dist/table/index.js"
    },
    "./toast": {
      "types": "./dist/toast/index.d.ts",
      "import": "./dist/toast/index.js"
    },
    "./types": {
      "types": "./dist/types/index.d.ts"
    },
    "./ui": {
      "types": "./dist/ui/index.d.ts",
      "import": "./dist/ui/index.js"
    },
    "./svg-sprite-client": {
      "types": "./dist/svg-sprite-client.d.ts"
    },
    "./vite": {
      "types": "./dist/vite.d.ts",
      "import": "./dist/vite.js"
    },
    "./vite-client": {
      "types": "./dist/vite-client.d.ts"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "resources/icons"
  ],
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "postinstall": "test ! -f vendor/bin/testbench || npm run boost:refresh",
    "dev": "vite",
    "build": "vite build",
    "build:lib": "vite build --mode lib",
    "build:lib:watch": "vite build --mode lib --watch",
    "prepack": "npm run build:lib",
    "test": "vitest run",
    "test:browser": "vitest run --project browser",
    "test:coverage": "vitest run --coverage",
    "boost:refresh": "php vendor/bin/testbench boost:update --no-interaction",
    "typecheck": "tsc --noEmit",
    "type-coverage": "type-coverage --project tsconfig.json --at-least 99.5",
    "check": "npm run lint && npm run format:check && npm run typecheck && npm run type-coverage && npm run test && npm run build:lib",
    "check:package": "publint --strict && attw --pack . --profile esm-only --exclude-entrypoints ./css",
    "fix": "npm run lint:fix && npm run format",
    "docs:typecheck": "tsc --noEmit -p docs/tsconfig.json",
    "docs:test": "vitest run --project jsdom docs",
    "lint": "oxlint resources/js workbench/resources/js",
    "lint:fix": "oxlint resources/js workbench/resources/js --fix",
    "lint:github": "oxlint resources/js workbench/resources/js --format=github",
    "format": "oxfmt --write \"resources/js/**/*.{ts,tsx}\" \"workbench/resources/js/**/*.{ts,tsx}\" \"docs/**/*.{ts,tsx,md,mdx}\"",
    "format:check": "oxfmt --check \"resources/js/**/*.{ts,tsx}\" \"workbench/resources/js/**/*.{ts,tsx}\" \"docs/**/*.{ts,tsx,md,mdx}\"",
    "analyze": "SONDA=1 vite build && mkdir -p docs/public && cp docs/generated/bundle-report.html docs/public/bundle-report.html",
    "docs:dev": "npm run analyze && astro dev",
    "docs:build": "npm run analyze && astro build",
    "docs:preview": "astro preview"
  },
  "dependencies": {
    "@internationalized/date": "^3.12.2",
    "@lattice-php/vite-svg-sprite": "^0.2.2",
    "@radix-ui/react-checkbox": "^1.1.4",
    "@radix-ui/react-dialog": "^1.1.16",
    "@radix-ui/react-label": "^2.1.2",
    "@radix-ui/react-popover": "^1.1.16",
    "@radix-ui/react-slot": "^1.2.3",
    "@radix-ui/react-toast": "^1.2.16",
    "@tiptap/extension-details": "^3.26.0",
    "@tiptap/extension-highlight": "^3.26.0",
    "@tiptap/extension-link": "^3.26.0",
    "@tiptap/extension-table": "^3.26.0",
    "@tiptap/extension-text-align": "^3.26.0",
    "@tiptap/pm": "^3.26.0",
    "@tiptap/react": "^3.26.0",
    "@tiptap/starter-kit": "^3.26.0",
    "@zag-js/date-picker": "^1.41.2",
    "@zag-js/react": "^1.41.2",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "i18next": "^26.3.1",
    "i18next-http-backend": "^4.0.0",
    "input-otp": "^1.4.2",
    "recharts": "^3.8.1",
    "tailwind-merge": "^3.0.1"
  },
  "peerDependencies": {
    "@inertiajs/react": "^3.0.0",
    "@laravel/echo-react": "^2.0.0",
    "pusher-js": "^8.0.0",
    "react": "^19.0.0",
    "react-dom": "^19.0.0"
  },
  "peerDependenciesMeta": {
    "@laravel/echo-react": {
      "optional": true
    },
    "pusher-js": {
      "optional": true
    }
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.18.5",
    "@astrojs/react": "^6.0.1",
    "@astrojs/starlight": "^0.41.3",
    "@astrojs/starlight-tailwind": "^5.0.0",
    "@codecov/vite-plugin": "^2.0.1",
    "@inertiajs/react": "^3.0.0",
    "@inertiajs/vite": "^3.0.0",
    "@laravel/echo-react": "^2.3.7",
    "@tailwindcss/vite": "^4.1.11",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.0",
    "@types/node": "^25.9.2",
    "@types/react": "^19.2.0",
    "@types/react-dom": "^19.2.0",
    "@vitejs/plugin-react": "^6.0.2",
    "@vitest/browser-playwright": "^4.1.8",
    "@vitest/coverage-v8": "^4.1.8",
    "astro": "^7.0.7",
    "astro-og-canvas": "^0.13.0",
    "jsdom": "^29.1.1",
    "laravel-echo": "^2.3.7",
    "laravel-vite-plugin": "^3.0.0",
    "lucide-static": "^1.18.0",
    "mermaid": "^11.16.0",
    "oxfmt": "^0.54.0",
    "oxlint": "^1.68.0",
    "playwright": "^1.60.0",
    "publint": "^0.3.21",
    "pusher-js": "^8.5.0",
    "react": "^19.2.0",
    "react-dom": "^19.2.0",
    "sonda": "^0.14.0",
    "starlight-llms-txt": "^0.11.0",
    "tailwindcss": "^4.0.0",
    "tw-animate-css": "^1.4.0",
    "type-coverage": "^2.29.7",
    "typescript": "^6.0.3",
    "vite": "^8.0.0",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^4.1.8",
    "vitest-browser-react": "^2.2.0"
  }
}
