{
  "name": "@koa/router",
  "description": "Router middleware for Koa.",
  "version": "15.4.0",
  "author": "Koa.js",
  "bugs": {
    "url": "https://github.com/koajs/router/issues",
    "email": "niftylettuce@gmail.com"
  },
  "contributors": [
    {
      "name": "@koajs"
    },
    {
      "name": "Imed Jaberi",
      "email": "imed-jaberi@outlook.com"
    }
  ],
  "peerDependencies": {
    "koa": "^2.0.0 || ^3.0.0"
  },
  "peerDependenciesMeta": {
    "koa": {
      "optional": false
    }
  },
  "dependencies": {
    "debug": "^4.4.3",
    "http-errors": "^2.0.1",
    "koa-compose": "^4.1.0",
    "path-to-regexp": "^8.3.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.4.4",
    "@commitlint/config-conventional": "^20.4.4",
    "@eslint/js": "^10.0.1",
    "@koa/bodyparser": "^6.1.0",
    "@types/debug": "^4.1.12",
    "@types/jsonwebtoken": "^9.0.10",
    "@types/koa": "^3.0.1",
    "@types/node": "^25.5.0",
    "@types/supertest": "^7.2.0",
    "@typescript-eslint/eslint-plugin": "^8.57.0",
    "@typescript-eslint/parser": "^8.57.0",
    "c8": "^11.0.0",
    "chalk": "^5.6.2",
    "eslint": "^10.0.3",
    "eslint-plugin-unicorn": "^63.0.0",
    "husky": "^9.1.7",
    "joi": "^18.0.2",
    "jsonwebtoken": "^9.0.3",
    "koa": "^3.1.2",
    "lint-staged": "^16.4.0",
    "np": "^11.0.2",
    "prettier": "^3.8.1",
    "rimraf": "^6.1.3",
    "supertest": "^7.2.2",
    "ts-node": "^10.9.2",
    "tsup": "^8.5.1",
    "typescript": "^5.9.3"
  },
  "engines": {
    "node": ">= 20"
  },
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "import": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "require": "./dist/index.js"
      }
    }
  },
  "files": [
    "dist",
    "LICENSE",
    "README.md"
  ],
  "homepage": "https://github.com/koajs/router",
  "keywords": [
    "koa",
    "middleware",
    "route",
    "router"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/koajs/router.git"
  },
  "scripts": {
    "bench": "TS_NODE_PROJECT=tsconfig.bench.json node --require ts-node/register bench/run.ts",
    "benchmark": "npm run bench",
    "bench:all": "TS_NODE_PROJECT=tsconfig.bench.json node --require ts-node/register bench/make.ts",
    "benchmark:all": "npm run bench:all",
    "prepare": "husky install",
    "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
    "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
    "lint:ts": "eslint src test --fix",
    "lint": "npm run lint:ts",
    "test:core": "TS_NODE_PROJECT=tsconfig.ts-node.json node --require ts-node/register --test test/*.test.ts test/**/*.test.ts",
    "test:recipes": "TS_NODE_PROJECT=tsconfig.recipes.json node --require ts-node/register --test recipes/**/*.test.ts",
    "pretest:all": "npm run lint && npm run build",
    "test:all": "TS_NODE_PROJECT=tsconfig.ts-node.json node --require ts-node/register --test test/*.test.ts test/**/*.test.ts recipes/**/*.test.ts",
    "test:coverage": "c8 --all --exclude eslint.config.js --exclude tsup.config.ts --exclude src/types.ts --exclude \"bench/**\" --exclude \"dist/**\" --exclude \"recipes/**\" --exclude \"test/**\" --exclude-after-remap npm run test:all",
    "ts:check": "tsc --noEmit --project tsconfig.typecheck.json",
    "ts:check:test": "tsc --noEmit --project tsconfig.test.json",
    "prebuild": "rimraf dist",
    "build": "tsup",
    "prepublishOnly": "npm run build",
    "release": "np --test-script test:all"
  },
  "resolutions": {
    "c8/yargs": "^18.0.0"
  }
}
