{
  "name": "astro-adapter-cloudflare-pages",
  "version": "0.3.1",
  "description": "Astro adapter for deploying on-demand rendered sites to Cloudflare Pages or Miniflare (Astro 6, 7 or later)",
  "keywords": [
    "astro",
    "astro-adapter",
    "astro-integration",
    "withastro",
    "cloudflare",
    "cloudflare-pages",
    "pages",
    "cf-pages",
    "wrangler",
    "cf"
  ],
  "homepage": "https://github.com/otnc/astro-adapter-cloudflare-pages#readme",
  "bugs": {
    "url": "https://github.com/otnc/astro-adapter-cloudflare-pages/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/otnc/astro-adapter-cloudflare-pages.git"
  },
  "license": "MIT",
  "author": "otoneko.",
  "type": "module",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "default": "./dist/index.mjs"
    },
    "./handler": {
      "types": "./dist/entrypoints/server.d.mts",
      "default": "./dist/entrypoints/server.mjs"
    },
    "./image-service": {
      "types": "./dist/entrypoints/image-service.d.mts",
      "default": "./dist/entrypoints/image-service.mjs"
    },
    "./package.json": "./package.json",
    "./preview": {
      "types": "./dist/entrypoints/preview.d.mts",
      "default": "./dist/entrypoints/preview.mjs"
    }
  },
  "files": [
    "dist",
    "skills",
    "THIRD_PARTY_NOTICES.md"
  ],
  "engines": {
    "node": ">=22.12.0"
  },
  "peerDependencies": {
    "astro": "^6 || ^7",
    "cf": ">=0.0.4 <1.0.0 || ^1.0.0-beta.0",
    "miniflare": "^4.0.0 || ^5.0.0",
    "wrangler": "^4.0.0"
  },
  "peerDependenciesMeta": {
    "cf": {
      "optional": true
    },
    "miniflare": {
      "optional": true
    },
    "wrangler": {
      "optional": true
    }
  },
  "scripts": {
    "build": "tsdown",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "test:e2e": "npm run build && vitest run --config vitest.e2e.config.js",
    "check:skills": "node scripts/validate-skills.mjs",
    "check:package": "publint && attw --pack . --profile esm-only",
    "typecheck": "tsc --noEmit",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "lint": "eslint .",
    "lint:fix": "eslint --fix .",
    "check": "prettier --write . && eslint --fix .",
    "ci": "prettier --check . && eslint .",
    "prepare": "simple-git-hooks",
    "prepublishOnly": "npm run build",
    "skills:link": "node scripts/link-claude-skills.mjs"
  },
  "dependencies": {
    "@astrojs/underscore-redirects": "1.0.4",
    "@cloudflare/workers-types": "^5.20261014.1",
    "smol-toml": "^1.9.1"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.18.5",
    "@commitlint/cli": "^21.2.3",
    "@commitlint/config-conventional": "^21.2.3",
    "@eslint/js": "^10.0.1",
    "@types/node": "^22.20.5",
    "@vitest/coverage-v8": "^5.0.1",
    "astro": "^7.4.13",
    "eslint": "^10.12.0",
    "eslint-config-prettier": "^10.1.8",
    "globals": "^17.13.0",
    "lint-staged": "^17.6.0",
    "miniflare": "^4.20260730.0",
    "prettier": "^3.9.10",
    "publint": "^0.3.25",
    "simple-git-hooks": "^2.14.0",
    "tsdown": "^0.23.1",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.71.2",
    "vitest": "^5.0.1",
    "wrangler": "^4.166.0"
  },
  "allowScripts": {
    "esbuild": true,
    "workerd": true
  },
  "simple-git-hooks": {
    "pre-commit": "npx --no -- lint-staged",
    "commit-msg": "npx --no -- commitlint --edit \"$1\""
  },
  "lint-staged": {
    "*.{js,mjs,ts}": [
      "eslint --fix",
      "prettier --write"
    ],
    "*.{json,jsonc,yml,yaml}": "prettier --write"
  }
}
