{
  "name": "@junctionjs/astro",
  "version": "2.0.0",
  "description": "Astro v5+ integration for Junction — script injection, SSR middleware, collect endpoint",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./middleware": {
      "import": "./dist/middleware.js",
      "types": "./dist/middleware.d.ts"
    },
    "./collect-endpoint": {
      "import": "./dist/collect-endpoint.js",
      "types": "./dist/collect-endpoint.d.ts"
    }
  },
  "files": ["dist", "README.md"],
  "scripts": {
    "build": "tsup src/index.ts src/middleware.ts src/collect-endpoint.ts --format esm --dts --sourcemap --target es2022 --no-config --external @junctionjs/core --external @junctionjs/client --external @junctionjs/debug --external astro --external astro:middleware",
    "dev": "tsup src/index.ts src/middleware.ts src/collect-endpoint.ts --format esm --dts --watch --no-config --external @junctionjs/core --external @junctionjs/client --external @junctionjs/debug --external astro --external astro:middleware",
    "clean": "rm -rf dist",
    "typecheck": "tsc --noEmit"
  },
  "dependencies": {
    "@junctionjs/core": "^0.3.0"
  },
  "peerDependencies": {
    "astro": "^5.0.0",
    "@junctionjs/debug": "^2.0.0"
  },
  "peerDependenciesMeta": {
    "@junctionjs/debug": {
      "optional": true
    }
  },
  "devDependencies": {
    "astro": "^5.0.0",
    "@junctionjs/debug": "*",
    "tsup": "^8.0.0",
    "typescript": "^5.5.0"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true,
    "registry": "https://registry.npmjs.org/"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/tyssejc/junction.git",
    "directory": "packages/astro"
  },
  "keywords": ["analytics", "astro", "astro-integration", "event-collection", "tag-manager"]
}
