{
  "name": "@sentry/react-native",
  "homepage": "https://github.com/getsentry/sentry-react-native",
  "repository": "https://github.com/getsentry/sentry-react-native",
  "version": "8.20.0",
  "description": "Official Sentry SDK for react-native",
  "typings": "dist/js/index.d.ts",
  "types": "dist/js/index.d.ts",
  "typesVersions": {
    "<4.9": {
      "*": [
        "ts3.8/*"
      ]
    }
  },
  "typescript": {
    "definition": "dist/js/index.d.ts"
  },
  "main": "dist/js/index.js",
  "scripts": {
    "build": "npx run-s build:sdk downlevel build:tools build:plugin build:replay-stubs",
    "build:sdk": "tsc -p tsconfig.build.json",
    "build:sdk:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
    "build:tools": "tsc -p tsconfig.build.tools.json",
    "build:tools:watch": "tsc -p tsconfig.build.tools.json -w --preserveWatchOutput",
    "build:plugin": "EXPO_NONINTERACTIVE=true expo-module build plugin",
    "build:replay-stubs": "[ \"$PLATFORM\" = \"ios\" ] && echo 'Skipping replay-stubs for iOS' && exit 0 || cd android/replay-stubs && ./gradlew jar",
    "build:tarball": "bash scripts/build-tarball.sh",
    "downlevel": "downlevel-dts dist ts3.8/dist --to=3.8",
    "clean": "rimraf dist coverage && yarn clean:plugin",
    "clean:plugin": "expo-module clean plugin",
    "circularDepCheck": "madge --circular dist/js/index.js && madge --circular metro.js && madge --circular expo.js",
    "test": "yarn test:sdk && yarn test:tools",
    "test:sdk": "sh -c 'if [ \"$CI\" = \"true\" ]; then yarn test:sdk-ci; else yarn test:sdk-local; fi'",
    "test:sdk-ci": "npx jest",
    "test:sdk-local": "jest --maxWorkers=8",
    "test:tools": "npx jest --config jest.config.tools.js",
    "test:watch": "npx jest --watch",
    "yalc:add:sentry-javascript": "yalc add @sentry/browser @sentry/core @sentry/react",
    "fix": "npx run-s fix:oxlint fix:fmt",
    "fix:oxlint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint --type-aware --tsconfig tsconfig.lint.json --fix",
    "fix:fmt": "oxfmt \"{src,test,scripts,plugin/src}/**/**.ts\" \"{src,test}/**/**.tsx\"",
    "lint": "npx run-s lint:oxlint lint:fmt",
    "lint:oxlint": "sh -c 'OUT=$(OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint --type-aware --tsconfig tsconfig.lint.json --deny-warnings 2>&1); echo \"$OUT\"; echo \"$OUT\" | grep -qE \"Found 0 warnings and 0 errors\"'",
    "lint:fmt": "oxfmt --check \"{src,test,scripts,plugin/src}/**/**.ts\" \"{src,test}/**/**.tsx\"",
    "api-report:generate": "api-extractor run --local --verbose",
    "api-report:check": "api-extractor run --verbose"
  },
  "bin": {
    "sentry-eas-build-on-complete": "scripts/eas-build-hook.js",
    "sentry-eas-build-on-error": "scripts/eas-build-hook.js",
    "sentry-eas-build-on-success": "scripts/eas-build-hook.js",
    "sentry-expo-upload-sourcemaps": "scripts/expo-upload-sourcemaps.js"
  },
  "keywords": [
    "react-native",
    "sentry",
    "crashreporting",
    "ios"
  ],
  "publishConfig": {
    "access": "public"
  },
  "author": "Sentry",
  "license": "MIT",
  "//": [
    "React version to be compatible with RN",
    "When bumping make sure to update the version of react, i.e:  https://github.com/facebook/react-native/blob/v0.56.0/package.json"
  ],
  "peerDependencies": {
    "expo": ">=49.0.0",
    "react": ">=17.0.0",
    "react-native": ">=0.65.0"
  },
  "dependencies": {
    "@sentry/babel-plugin-component-annotate": "5.3.0",
    "@sentry/browser": "10.67.0",
    "@sentry/cli": "3.6.1",
    "@sentry/core": "10.67.0",
    "@sentry/expo-upload-sourcemaps": "8.20.0",
    "@sentry/react": "10.67.0"
  },
  "devDependencies": {
    "@babel/core": "^7.26.7",
    "@expo/metro-config": "~0.20.0",
    "@microsoft/api-extractor": "^7.58.7",
    "@mswjs/interceptors": "^0.25.15",
    "@react-native/babel-preset": "0.86.0",
    "@react-native/jest-preset": "0.86.0",
    "@sentry/eslint-plugin-sdk": "10.67.0",
    "@sentry/typescript": "10.67.0",
    "@sentry/wizard": "6.13.0",
    "@testing-library/react-native": "^13.2.2",
    "@types/jest": "^29.5.13",
    "@types/node": "^20.9.3",
    "@types/react": "^19.1.0",
    "@types/react-test-renderer": "^19.1.0",
    "@types/uglify-js": "^3.17.2",
    "@types/xmlhttprequest": "^1.8.2",
    "babel-jest": "^29.6.3",
    "babel-plugin-module-resolver": "^5.0.0",
    "babel-preset-fbjs": "^3.4.0",
    "downlevel-dts": "^0.11.0",
    "expo": "^53.0.0",
    "expo-module-scripts": "3.1.0",
    "jest": "^29.6.3",
    "jest-environment-jsdom": "^29.6.2",
    "jest-extended": "^4.0.2",
    "madge": "^6.1.0",
    "metro": "0.84.4",
    "oxfmt": "^0.42.0",
    "oxlint": "^1.56.0",
    "oxlint-tsgolint": "^0.17.4",
    "react": "19.1.0",
    "react-native": "0.86.0",
    "react-test-renderer": "19.1.0",
    "rimraf": "^4.1.1",
    "ts-jest": "^29.3.1",
    "typescript": "~5.9.3",
    "uglify-js": "^3.17.4",
    "xmlhttprequest": "^1.8.0"
  },
  "codegenConfig": {
    "name": "RNSentrySpec",
    "type": "all",
    "jsSrcsDir": "src",
    "android": {
      "javaPackageName": "io.sentry.react"
    }
  },
  "peerDependenciesMeta": {
    "expo": {
      "optional": true
    }
  }
}