{
  "name": "@open-matrix/browser-kit",
  "version": "0.1.0",
  "description": "Shared browser infrastructure for Matrix webapps — shims, theme tokens, vite config factory, app shell",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./shims/*": {
      "types": "./dist/shims/*.d.ts",
      "import": "./dist/shims/*.js",
      "default": "./dist/shims/*.js"
    },
    "./theme": {
      "types": "./dist/theme/index.d.ts",
      "import": "./dist/theme/index.js",
      "default": "./dist/theme/index.js"
    },
    "./theme/base.css": "./dist/theme/base.css",
    "./theme/tokens.css": "./dist/theme/tokens.css",
    "./vite": {
      "types": "./dist/vite/index.d.ts",
      "import": "./dist/vite/index.js",
      "default": "./dist/vite/index.js"
    },
    "./components/MxAppShell": {
      "types": "./dist/components/MxAppShell.d.ts",
      "import": "./dist/components/MxAppShell.js",
      "default": "./dist/components/MxAppShell.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "package.json"
  ],
  "scripts": {
    "build": "node build.mjs",
    "test": "node --input-type=module -e \"const kit = await import('./dist/vite/index.js'); if (typeof kit.createMatrixViteConfig !== 'function') throw new Error('createMatrixViteConfig export missing');\"",
    "type-check": "tsc -p tsconfig.json --noEmit"
  },
  "peerDependencies": {
    "@open-matrix/core": "*",
    "vite": "^5.0.0"
  },
  "peerDependenciesMeta": {
    "@open-matrix/core": {
      "optional": true
    },
    "vite": {
      "optional": true
    }
  },
  "devDependencies": {
    "@open-matrix/core": "workspace:*",
    "typescript": "^5.7.0",
    "vite": "^5.4.21"
  }
}
