{ "name": "@sentry/react-native", "homepage": "https://github.com/getsentry/sentry-react-native", "repository": "https://github.com/getsentry/sentry-react-native", "version": "8.7.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": "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 @sentry/types", "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\"" }, "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.1.1", "@sentry/browser": "10.47.0", "@sentry/cli": "3.3.5", "@sentry/core": "10.47.0", "@sentry/react": "10.47.0", "@sentry/types": "10.47.0" }, "devDependencies": { "@babel/core": "^7.26.7", "@expo/metro-config": "~0.20.0", "@mswjs/interceptors": "^0.25.15", "@react-native/babel-preset": "0.80.0", "@sentry-internal/eslint-plugin-sdk": "10.47.0", "@sentry-internal/typescript": "10.47.0", "@sentry/wizard": "6.12.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/uuid": "^9.0.4", "@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.83.1", "oxfmt": "^0.42.0", "oxlint": "^1.56.0", "oxlint-tsgolint": "^0.17.4", "react": "19.1.0", "react-native": "0.80.1", "react-test-renderer": "19.1.0", "rimraf": "^4.1.1", "ts-jest": "^29.3.1", "typescript": "~5.9.3", "uglify-js": "^3.17.4", "uuid": "^9.0.1", "xmlhttprequest": "^1.8.0" }, "codegenConfig": { "name": "RNSentrySpec", "type": "all", "jsSrcsDir": "src", "android": { "javaPackageName": "io.sentry.react" } }, "peerDependenciesMeta": { "expo": { "optional": true } } }