{
  "description": "Lightweight client-side router for WebUI apps. Intercepts navigation, matches routes locally or via server route-data, and hydrates components.",
  "devDependencies": {
    "@microsoft/webui-framework": "0.0.29",
    "@microsoft/webui-router": "0.0.29",
    "@playwright/test": "^1.63.0",
    "@types/dom-navigation": "^1.0.7",
    "@types/dom-view-transitions": "^1.0.6",
    "@types/node": "^26.5.1",
    "esbuild": "^0.28.2",
    "typescript": "7.0.2",
    "urlpattern-polyfill": "^10.1.0"
  },
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    },
    "./preload.js": {
      "import": {
        "types": "./dist/preload-entry.d.ts",
        "default": "./dist/preload-entry.js"
      }
    }
  },
  "files": [
    "dist/"
  ],
  "license": "MIT",
  "name": "@microsoft/webui-router",
  "type": "module",
  "publishConfig": {
    "tag": "latest"
  },
  "version": "0.0.29",
  "scripts": {
    "build": "tsc",
    "build:e2e": "esbuild tests/fixtures/router-app/src/index.ts tests/fixtures/router-app/src/interaction-entry.ts --bundle --outdir=tests/fixtures/router-app/dist --format=esm --splitting --sourcemap --tsconfig=tsconfig.e2e.json",
    "start:server": "cargo run -p microsoft-webui-cli -- serve ./tests/fixtures/router-app/src --plugin=webui --servedir ./tests/fixtures/router-app/dist --state ./tests/fixtures/router-app/data/state.json --port 39102",
    "test": "tsc -p tsconfig.unit-test.json && node --test dist/**/*.test.js && pnpm build:e2e && playwright test",
    "test:e2e": "playwright test",
    "test:update-snapshots": "playwright test --update-snapshots",
    "typecheck": "tsc --noEmit"
  }
}