{
  "name": "posthog-react-native",
  "version": "4.37.1",
  "license": "MIT",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./metro": {
      "types": "./dist/tooling/metroconfig.d.ts",
      "default": "./dist/tooling/metroconfig.js"
    },
    "./expo": {
      "types": "./dist/tooling/expoconfig.d.ts",
      "default": "./dist/tooling/expoconfig.js"
    }
  },
  "files": [
    "dist/",
    "tooling/"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/PostHog/posthog-js.git",
    "directory": "packages/react-native"
  },
  "dependencies": {
    "@posthog/core": "1.23.2"
  },
  "devDependencies": {
    "@babel/cli": "^7.19.3",
    "@babel/preset-env": "^7.27.1",
    "@babel/preset-react": "^7.27.1",
    "@babel/preset-typescript": "^7.27.1",
    "@babel/plugin-transform-class-properties": "^7.27.1",
    "@babel/plugin-transform-private-methods": "^7.27.1",
    "@babel/plugin-transform-private-property-in-object": "^7.27.1",
    "@react-native-async-storage/async-storage": "^1.17.10",
    "@react-native/babel-preset": "^0.80.1",
    "@react-navigation/native": "^5.0.10",
    "@types/react": "^17.0.87",
    "@types/react-native": "^0.69.1",
    "@types/jest": "^29.5.14",
    "expo": "^45.0.6",
    "expo-application": "^4.0.0",
    "expo-device": "^4.0.0",
    "expo-file-system": "^13.0.0",
    "expo-localization": "^11.0.0",
    "@testing-library/react": "^16.3.0",
    "jest": "29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "jest-environment-node": "^29.7.0",
    "jest-expo": "^47.0.1",
    "metro": "0.83.1",
    "@expo/metro-config": "~0.20.0",
    "posthog-react-native-session-replay": "^1.5.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "^0.69.1",
    "react-native-device-info": "^10.3.0",
    "react-native-localize": "^3.0.0",
    "react-native-navigation": "^6.0.0",
    "react-native-safe-area-context": "^4.10.1",
    "react-native-svg": "^15.0.0",
    "ts-jest": "29.4.0",
    "typescript": "5.8.2",
    "@posthog-tooling/rollup-utils": "1.1.1",
    "@posthog-tooling/tsconfig-base": "1.1.1"
  },
  "peerDependencies": {
    "@react-native-async-storage/async-storage": ">=1.0.0",
    "@react-navigation/native": ">= 5.0.0",
    "expo-application": ">= 4.0.0",
    "expo-device": ">= 4.0.0",
    "expo-file-system": ">= 13.0.0",
    "expo-localization": ">= 11.0.0",
    "posthog-react-native-session-replay": ">= 1.5.0",
    "react-native-device-info": ">= 10.0.0",
    "react-native-localize": ">= 3.0.0",
    "react-native-navigation": ">= 6.0.0",
    "react-native-safe-area-context": ">= 4.0.0",
    "react-native-svg": ">= 15.0.0"
  },
  "peerDependenciesMeta": {
    "@react-native-async-storage/async-storage": {
      "optional": true
    },
    "@react-navigation/native": {
      "optional": true
    },
    "expo-application": {
      "optional": true
    },
    "expo-device": {
      "optional": true
    },
    "expo-file-system": {
      "optional": true
    },
    "expo-localization": {
      "optional": true
    },
    "react-native-device-info": {
      "optional": true
    },
    "react-native-navigation": {
      "optional": true
    },
    "react-native-localize": {
      "optional": true
    },
    "posthog-react-native-session-replay": {
      "optional": true
    },
    "react-native-safe-area-context": {
      "optional": true
    }
  },
  "scripts": {
    "clean": "rimraf dist",
    "lint": "eslint src test",
    "lint:fix": "eslint src test --fix",
    "test:unit": "jest -c jest.config.js",
    "test": "pnpm test:unit",
    "prebuild": "node -p \"'export const version = ' + JSON.stringify(require('./package.json').version)\" > src/version.ts",
    "build": "tsc -b && babel ./dist --out-dir dist --extensions '.js'",
    "package": "pnpm pack --out $PACKAGE_DEST/%s.tgz",
    "generate-references": "pnpm exec api-extractor run --config ./api-extractor.json --local && node scripts/generate-docs.js"
  }
}