{
  "name": "koatty_router",
  "version": "2.2.0",
  "description": "Koatty routing component, adapt to http1/2, websocket, gRPC.",
  "scripts": {
    "build": "pnpm run build:js && pnpm run build:dts && pnpm run build:doc && pnpm run build:cp",
    "build:js": "tsup",
    "build:dts": "bash ../../scripts/build-dts.sh",
    "build:doc": "api-documenter markdown --input temp --output docs/api",
    "build:cp": "node ../../scripts/postBuild.js",
    "clean": "rimraf dist temp docs/api",
    "lint": "eslint --ext .ts,.js ./src",
    "test": "pnpm run lint && jest --passWithNoTests",
    "test:cov": "jest --collectCoverage --detectOpenHandles"
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/koatty/koatty_router.git"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "author": "richenlin@gmail.com",
  "license": "BSD-3-Clause",
  "devDependencies": {
    "@grpc/grpc-js": "^1.x.x",
    "@microsoft/api-documenter": "^7.26.x",
    "@microsoft/api-extractor": "^7.52.x",
    "@types/formidable": "^3.x.x",
    "@types/inflation": "^2.x.x",
    "@types/jest": "^29.5.x",
    "@types/koa": "^2.x.x",
    "@types/koa-compose": "^3.x.x",
    "@types/koa__router": "^12.x.x",
    "@types/lodash": "^4.x.x",
    "@types/lru-cache": "^7.10.9",
    "@types/node": "^22.x.x",
    "@types/on-finished": "^2.x.x",
    "@types/ws": "^8.x.x",
    "@types/xml2js": "^0.x.x",
    "@typescript-eslint/eslint-plugin": "^8.x.x",
    "@typescript-eslint/parser": "^8.x.x",
    "eslint": "^8.x.x",
    "eslint-plugin-jest": "^28.x.x",
    "jest": "^29.x.x",
    "jest-html-reporters": "^3.x.x",
    "koa": "^3.0.0",
    "koa-graphql": "^0.12.0",
    "koa-mount": "^4.0.0",
    "reflect-metadata": "^0.2.2",
    "supertest": "^7.0.0",
    "ts-jest": "^29.x.x",
    "ts-morph": "^26.0.0",
    "tslib": "^2.x.x"
  },
  "dependencies": {
    "@koa/router": "^15.3.0",
    "fast-querystring": "^1.1.2",
    "fast-xml-parser": "^5.3.3",
    "formidable": "^3.5.4",
    "graphql-depth-limit": "^1.1.0",
    "graphql-http": "^1.22.4",
    "inflation": "^2.1.0",
    "koa-compose": "^4.1.0",
    "koatty_container": "workspace:*",
    "koatty_core": "workspace:*",
    "koatty_exception": "workspace:*",
    "koatty_graphql": "workspace:*",
    "koatty_lib": "workspace:*",
    "koatty_logger": "workspace:*",
    "koatty_proto": "workspace:*",
    "koatty_validation": "workspace:*",
    "lru-cache": "^11.2.5",
    "on-finished": "^2.4.1",
    "raw-body": "^3.0.2"
  }
}
