{
  "name": "routerworkers",
  "version": "1.2.1",
  "description": "Um roteador moderno e minimalista para Cloudflare Workers com TypeScript, response helpers, route groups, CORS e validação built-in.",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./types": {
      "types": "./dist/types/index.d.ts"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "npm run clean && rollup -c && tsc --emitDeclarationOnly",
    "dev": "rollup -c --watch",
    "test": "jest",
    "test:watch": "jest --watch",
    "clean": "rm -rf dist && mkdir -p dist",
    "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
    "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
    "lint:fix": "eslint \"src/**/*.ts\" \"test/**/*.ts\" --fix",
    "prepublishOnly": "npm run test && npm run build",
    "version": "npm run build",
    "postversion": "git push && git push --tags"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/HelenoSalgado/routerworkers.git"
  },
  "keywords": [
    "cloudflare",
    "workers",
    "router",
    "middleware",
    "typescript",
    "rest-api",
    "cors",
    "validation",
    "route-groups",
    "response-helpers",
    "edge-computing",
    "serverless",
    "cloudflare-workers",
    "web-framework",
    "http-router"
  ],
  "author": "Heleno Salgado",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/HelenoSalgado/routerworkers/issues"
  },
  "homepage": "https://github.com/HelenoSalgado/routerworkers#readme",
  "engines": {
    "node": ">=18.0.0"
  },
  "jest": {
    "preset": "ts-jest",
    "testEnvironment": "node",
    "roots": [
      "<rootDir>/test"
    ],
    "testMatch": [
      "**/*.test.ts"
    ],
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "collectCoverageFrom": [
      "src/**/*.ts"
    ]
  },
  "devDependencies": {
    "@cloudflare/workers-types": "^4.20260214.0",
    "@rollup/plugin-typescript": "^12.3.0",
    "@types/jest": "^30.0.0",
    "@typescript-eslint/eslint-plugin": "^8.55.0",
    "@typescript-eslint/parser": "^8.55.0",
    "eslint": "^9.0.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.5",
    "jest": "^30.2.0",
    "prettier": "^3.8.1",
    "rollup": "^4.57.1",
    "ts-jest": "^29.4.6",
    "tslib": "^2.8.1",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.55.0",
    "wrangler": "^4.65.0"
  }
}
