UNPKG

@datadog/mobile-react-native

Version:

A client-side React Native module to interact with Datadog

123 lines (122 loc) 3.77 kB
{ "name": "@datadog/mobile-react-native", "version": "2.11.0", "description": "A client-side React Native module to interact with Datadog", "keywords": [ "datadog", "react-native", "ios", "android" ], "author": "Datadog (https://github.com/DataDog)", "homepage": "https://github.com/DataDog/dd-sdk-reactnative#readme", "repository": "https://github.com/DataDog/dd-sdk-reactnative", "bugs": { "url": "https://github.com/DataDog/dd-sdk-reactnative/issues" }, "license": "Apache-2.0", "main": "lib/commonjs/index", "files": [ "src/**", "lib/**", "scripts/**", "android/build.gradle", "android/detekt.yml", "android/gradle.properties", "android/src/**", "ios/Sources/**", "ios/DdSdkReactNative.xcodeproj/project.xcworkspace/xcsharedata", "ios/DdSdkReactNative.xcodeproj/project.xcworkspace/*.xcworkspacedata", "ios/DdSdkReactNative.xcodeproj/*.pbxproj", "jest", "DatadogSDKReactNative.podspec", "datadog-sourcemaps.gradle", "datadog-configuration.gradle", "datadog-configuration.schema.json" ], "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src", "module": "lib/module/index", "exports": { ".": { "import": "./lib/module/index.js", "require": "./lib/commonjs/index.js", "types": "./lib/typescript/index.d.ts" }, "./metro": { "import": "./lib/module/metro.js", "require": "./lib/commonjs/metro.js", "types": "./lib/typescript/metro.d.ts" }, "./jest": { "import": "./jest/mock.js", "require": "./jest/mock.js" }, "./package.json": "./package.json" }, "publishConfig": { "access": "public" }, "scripts": { "test": "jest", "lint": "eslint .", "prepare": "rm -rf lib && yarn bob build", "postinstall": "node scripts/replace-react-require.js # Use node to execute the script for Windows, see https://github.com/DataDog/dd-sdk-reactnative/issues/358" }, "peerDependencies": { "react": ">=16.13.1", "react-native": ">=0.63.4 <1.0" }, "devDependencies": { "@testing-library/react-native": "7.0.2", "react-native-builder-bob": "0.26.0" }, "jest": { "preset": "react-native", "moduleNameMapper": { "@datadog/mobile-react-native": "<rootDir>../core/src", "@datadog/mobile-react-native/metro": "<rootDir>../core/src/metro" }, "modulePathIgnorePatterns": [ "<rootDir>/lib/" ], "testPathIgnorePatterns": [ "/__utils__/", "/__fixtures__/" ], "setupFiles": [ "./../../node_modules/react-native-gesture-handler/jestSetup.js", "./../../jest.setup.js" ], "transformIgnorePatterns": [ "jest-runner" ] }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "tsc": "./../../node_modules/.bin/tsc" } ] ] }, "codegenConfig": { "name": "DdSdkReactNative", "type": "modules", "jsSrcsDir": "./src/specs", "android": { "javaPackageName": "com.datadog.reactnative" } }, "dependencies": { "big-integer": "^1.6.52" }, "gitHead": "41c749668228358ae54be32916cbac1e663e46f1" }