{
  "name": "@posthog/react",
  "version": "1.10.3",
  "bugs": {
    "url": "https://github.com/PostHog/posthog-js/issues"
  },
  "description": "Provides components and hooks for React integrations of PostHog.",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/PostHog/posthog-js.git",
    "directory": "packages/react"
  },
  "author": "engineering@posthog.com",
  "license": "MIT",
  "homepage": "https://posthog.com/docs/libraries/react",
  "main": "dist/umd/index.js",
  "module": "dist/esm/index.js",
  "types": "dist/types/index.d.ts",
  "files": [
    "dist",
    "src",
    "surveys",
    "slim"
  ],
  "peerDependencies": {
    "@types/react": ">=16.8.0",
    "posthog-js": ">=1.257.2",
    "react": ">=16.8.0"
  },
  "peerDependenciesMeta": {
    "@types/react": {
      "optional": true
    }
  },
  "devDependencies": {
    "@babel/preset-env": "^7.27.1",
    "@babel/preset-react": "^7.27.1",
    "@babel/preset-typescript": "^7.27.1",
    "@rollup/plugin-inject": "^4.0.2",
    "@rollup/plugin-replace": "^2.3.4",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.0",
    "@types/react": "^19.2.7",
    "@types/jest": "^29.5.14",
    "cross-env": "^7.0.3",
    "jest": "29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "react": "^19.2.1",
    "react-dom": "^19.2.1",
    "react-test-renderer": "^19.2.1",
    "rollup": "^2.35.1",
    "rollup-plugin-copy": "^3.5.0",
    "tslib": "^2.5.0",
    "typescript": "5.8.2",
    "posthog-js": "^1.391.8",
    "@posthog-tooling/rollup-utils": "1.1.1"
  },
  "scripts": {
    "clean": "rimraf dist",
    "build": "rollup -c",
    "dev": "rollup -cw",
    "test:unit": "jest",
    "lint": "eslint src",
    "test:debug": "jest --runInBand",
    "package": "pnpm pack --out $PACKAGE_DEST/%s.tgz"
  }
}