{
  "name": "astro-js-typesafe-routes",
  "author": "Jumbo Daniel",
  "version": "0.2.2",
  "type": "module",
  "description": "Type-safe route generation for Astro — auto-generated ROUTES object, $path() URL builder, and typed createRoute() helpers.",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/JumboDaniel/astro-js-typed-routes.git"
  },
  "homepage": "https://github.com/JumboDaniel/astro-js-typed-routes",
  "keywords": [
    "astro",
    "astro-integration",
    "routes",
    "typed-routes",
    "typescript"
  ],
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "src/components/link.astro",
    "src/components/link.tsx",
    "src/components/link.astro.d.ts"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./path": {
      "types": "./dist/path.d.ts",
      "import": "./dist/path.js",
      "require": "./dist/path.cjs"
    },
    "./create-route": {
      "types": "./dist/create-route.d.ts",
      "import": "./dist/create-route.js",
      "require": "./dist/create-route.cjs"
    },
    "./link": {
      "types": "./src/components/link.astro.d.ts",
      "default": "./src/components/link.astro"
    },
    "./link/react": {
      "types": "./dist/link.d.ts",
      "import": "./dist/link.js",
      "require": "./dist/link.cjs"
    },
    "./routes": {
      "default": "./.generated/routes.gen.ts"
    },
    "./typed-routes": {
      "types": "./.generated/typed-routes.d.ts"
    },
    "./typed-routes.d.ts": {
      "types": "./.generated/typed-routes.d.ts"
    }
  },
  "peerDependencies": {
    "astro": ">=5.0.0",
    "react": "^18.0.0 || ^19.0.0"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    }
  },
  "dependencies": {
    "vite-plugin-dts": "^4.5.4"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.1",
    "@types/node": "^24.10.1",
    "@types/react": "^19.2.7",
    "@types/react-dom": "^19.2.3",
    "@vitest/coverage-v8": "4.0.18",
    "astro": "^5.17.2",
    "eslint": "^9.39.1",
    "oxlint": "^1.48.0",
    "react": "^19.2.0",
    "react-dom": "^19.2.4",
    "typescript": "~5.9.3",
    "typescript-eslint": "^8.48.0",
    "vite": "^7.3.1",
    "vitest": "^4.0.18"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "pnpm test && pnpm lint --fix && vite build",
    "run:astro": "astro dev",
    "test": "vitest run",
    "lint": "oxlint",
    "lint:fix": "oxlint --fix",
    "git:commit": "git add . && git commit -m \"chore: version bump\"",
    "release:patch": "pnpm git:commit && pnpm version patch && pnpm publish --access public",
    "release:minor": "pnpm git:commit && pnpm version minor && pnpm publish --access public",
    "release:major": "pnpm git:commit && pnpm version major && pnpm publish --access public",
    "release": "pnpm publish --access public"
  }
}