{
  "name": "posthog-node",
  "version": "5.39.4",
  "bugs": {
    "url": "https://github.com/PostHog/posthog-js/issues"
  },
  "description": "PostHog Node.js integration",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/PostHog/posthog-js.git",
    "directory": "packages/node"
  },
  "engines": {
    "node": "^20.20.0 || >=22.22.0"
  },
  "files": [
    "src",
    "dist",
    "!src/__tests__"
  ],
  "license": "MIT",
  "author": {
    "name": "PostHog",
    "email": "engineering@posthog.com",
    "url": "https://posthog.com"
  },
  "main": "dist/entrypoints/index.node.js",
  "module": "dist/entrypoints/index.node.mjs",
  "types": "dist/entrypoints/index.node.d.ts",
  "dependencies": {
    "@posthog/core": "^1.39.5"
  },
  "devDependencies": {
    "@edge-runtime/jest-environment": "^4.0.0",
    "@rslib/core": "0.10.6",
    "@types/express": "^5.0.5",
    "@types/jest": "^29.5.14",
    "@types/node": "^20.0.0",
    "jest": "29.7.0",
    "rxjs": "^7.8.0",
    "@posthog-tooling/tsconfig-base": "1.1.1"
  },
  "peerDependencies": {
    "rxjs": "^7.0.0"
  },
  "peerDependenciesMeta": {
    "rxjs": {
      "optional": true
    }
  },
  "keywords": [
    "posthog",
    "stats",
    "analysis",
    "funnels"
  ],
  "exports": {
    ".": {
      "types": "./dist/entrypoints/index.node.d.ts",
      "edge": {
        "import": "./dist/entrypoints/index.edge.mjs",
        "require": "./dist/entrypoints/index.edge.js",
        "default": "./dist/entrypoints/index.edge.js"
      },
      "node": {
        "import": "./dist/entrypoints/index.node.mjs",
        "require": "./dist/entrypoints/index.node.js",
        "default": "./dist/entrypoints/index.node.js"
      },
      "edge-light": {
        "import": "./dist/entrypoints/index.edge.mjs",
        "require": "./dist/entrypoints/index.edge.js",
        "default": "./dist/entrypoints/index.edge.js"
      },
      "workerd": {
        "import": "./dist/entrypoints/index.edge.mjs",
        "require": "./dist/entrypoints/index.edge.js",
        "default": "./dist/entrypoints/index.edge.js"
      },
      "import": "./dist/entrypoints/index.node.mjs",
      "require": "./dist/entrypoints/index.node.js"
    },
    "./edge": {
      "types": "./dist/entrypoints/index.edge.d.ts",
      "import": "./dist/entrypoints/index.edge.mjs",
      "require": "./dist/entrypoints/index.edge.js",
      "default": "./dist/entrypoints/index.edge.js"
    },
    "./nestjs": {
      "types": "./dist/entrypoints/nestjs.d.ts",
      "import": "./dist/entrypoints/nestjs.mjs",
      "require": "./dist/entrypoints/nestjs.js"
    },
    "./experimental": {
      "types": "./dist/experimental.d.ts",
      "import": "./dist/experimental.mjs",
      "require": "./dist/experimental.js",
      "default": "./dist/experimental.js"
    }
  },
  "scripts": {
    "clean": "rimraf dist coverage",
    "lint": "eslint src",
    "lint:fix": "eslint src --fix",
    "test:unit": "jest",
    "test:edge-compat": "jest --env @edge-runtime/jest-environment --no-coverage",
    "prebuild": "node -p \"'export const version = \\'' + require('./package.json').version + '\\''\" > src/version.ts",
    "build": "rslib build",
    "dev": "rslib build -w",
    "package": "pnpm pack --out $PACKAGE_DEST/%s.tgz",
    "generate-references": "pnpm build && pnpm exec api-extractor run --config ./api-extractor.jsonc --local && node scripts/generate-docs.mjs"
  }
}