{
  "name": "@lit-labs/router",
  "version": "0.1.4",
  "description": "A router for Lit.",
  "license": "BSD-3-Clause",
  "homepage": "https://lit.dev/",
  "repository": {
    "type": "git",
    "url": "https://github.com/lit/lit.git",
    "directory": "packages/labs/router"
  },
  "publishConfig": {
    "access": "public"
  },
  "type": "module",
  "main": "index.js",
  "module": "index.js",
  "typings": "index.d.ts",
  "directories": {
    "test": "test"
  },
  "exports": {
    ".": {
      "types": "./development/index.d.ts",
      "development": "./development/index.js",
      "default": "./index.js"
    },
    "./router.js": {
      "types": "./development/router.d.ts",
      "development": "./development/router.js",
      "default": "./router.js"
    },
    "./routes.js": {
      "types": "./development/routes.d.ts",
      "development": "./development/routes.js",
      "default": "./routes.js"
    }
  },
  "files": [
    "/development/",
    "!/development/test/",
    "/index.{d.ts,d.ts.map,js,js.map}",
    "/router.{d.ts,d.ts.map,js,js.map}",
    "/routes.{d.ts,d.ts.map,js,js.map}"
  ],
  "scripts": {
    "build": "wireit",
    "build:rollup": "wireit",
    "build:ts": "wireit",
    "build:ts:types": "wireit",
    "test": "wireit",
    "test:dev": "wireit",
    "test:prod": "wireit",
    "checksize": "wireit"
  },
  "wireit": {
    "test": {
      "dependencies": [
        "test:dev",
        "test:prod"
      ]
    },
    "test:dev": {
      "command": "MODE=dev node ../../tests/run-web-tests.js \"development/**/*_test.js\" --config ../../tests/web-test-runner.config.js",
      "#comment": "build:rollup is needed to move the test html file to development/test.",
      "dependencies": [
        "build:ts",
        "build:rollup",
        "../../tests:build"
      ],
      "env": {
        "BROWSERS": {
          "external": true
        }
      },
      "files": [],
      "output": []
    },
    "test:prod": {
      "command": "MODE=prod node ../../tests/run-web-tests.js \"development/**/*_test.js\" --config ../../tests/web-test-runner.config.js",
      "dependencies": [
        "build:ts",
        "build:rollup",
        "../../tests:build"
      ],
      "env": {
        "BROWSERS": {
          "external": true
        }
      },
      "files": [],
      "output": []
    },
    "build": {
      "dependencies": [
        "build:rollup",
        "build:ts",
        "build:ts:types"
      ]
    },
    "build:rollup": {
      "command": "rollup -c",
      "dependencies": [
        "build:ts"
      ],
      "files": [
        "src/test/router_test.html",
        "rollup.config.js",
        "../../../rollup-common.js"
      ],
      "output": [
        "index.js{,.map}",
        "router.js{,.map}",
        "routes.js{,.map}",
        "development/test/router_test.html"
      ]
    },
    "build:ts": {
      "command": "tsc --build --pretty",
      "clean": "if-file-deleted",
      "files": [
        "src/**/*.ts",
        "tsconfig.json"
      ],
      "output": [
        "development/**",
        "!development/test/router_test.html",
        "tsconfig.tsbuildinfo"
      ],
      "dependencies": [
        "../testing:build:ts:utils",
        "../../lit:build:ts:types"
      ]
    },
    "build:ts:types": {
      "command": "treemirror development . '**/*.d.ts{,.map}'",
      "dependencies": [
        "../../internal-scripts:build",
        "build:ts"
      ],
      "files": [],
      "output": [
        "*.d.ts{,.map}",
        "test/*.d.ts{,.map}"
      ]
    },
    "checksize": {
      "command": "rollup -c --environment=CHECKSIZE",
      "dependencies": [
        "build:ts"
      ],
      "files": [
        "rollup.config.js",
        "../../../rollup-common.js"
      ],
      "output": []
    }
  },
  "author": "Google LLC",
  "devDependencies": {
    "@lit-internal/scripts": "^1.0.1",
    "@lit-labs/testing": "^0.2.2",
    "@types/trusted-types": "^2.0.2",
    "urlpattern-polyfill": "^5.0.5"
  },
  "dependencies": {
    "lit": "^2.0.0 || ^3.0.0"
  }
}
