UNPKG

@dynatrace/react-native-plugin

Version:

This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.

179 lines (178 loc) 5.42 kB
{ "name": "@dynatrace/react-native-plugin", "version": "2.327.2", "description": "This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.", "main": "index.js", "types": "types.d.ts", "bin": { "instrumentDynatrace": "scripts/Instrument.js", "configDynatrace": "scripts/CheckConfig.js", "lineOffsetDynatrace": "scripts/LineOffsetAnalyze.js" }, "keywords": [ "react-native", "dynatrace", "mobile", "android", "ios", "performance", "monitoring" ], "rnpm": { "plugin": "./command/command.js" }, "scripts": { "uninstall": "node ./scripts/Uninstall.js", "test": "jest --runInBand", "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand", "test:local": "npm run lint && node runner.js test", "tsc:local": "tsc -p tsconfig.local.json", "tsc:types": "tsc -p tsconfig.types.json && rollup -c rollup.config.types.js", "tsc": "tsc", "tsc:prod": "tsc -p tsconfig.release.json", "lint": "eslint --cache src/**/*.ts --ignore-pattern .gitignore", "lint:spec": "eslint --cache tests/**/*.ts --cache-file tests/.eslintcache --ignore-pattern .gitignore --fix", "prettier:check": "prettier --check ./src", "prettier:write": "prettier --write ./src", "prepare": "husky" }, "jest-junit": { "suiteName": "jest tests", "outputDirectory": "test_report", "outputName": "junit.xml", "uniqueOutputName": "true", "ancestorSeparator": " › ", "usePathForSuiteName": "true" }, "author": "Dynatrace", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "@babel/runtime": "^7.28.4", "jscodeshift": "^17.3.0", "plist": "^3.1.0", "proxy-polyfill": "^0.3.2", "semver": "^7.7.3" }, "homepage": "https://www.dynatrace.com/", "peerDependencies": { "@babel/parser": ">=7.4.4", "@react-native-picker/picker": ">=1.0.0", "diff": "^8.0.2", "react": ">=16.11.0", "react-native": ">=0.62.0" }, "overrides": { "jscodeshift": { "ast-types": "npm:ast-types-x" }, "ast-types": "npm:ast-types-x", "flow-parser": "0.160" }, "devDependencies": { "@babel/plugin-transform-class-properties": "^7.27.1", "@babel/plugin-transform-flow-strip-types": "^7.27.1", "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1", "@babel/plugin-transform-optional-chaining": "^7.27.1", "@babel/preset-env": "^7.27.2", "@babel/preset-react": "^7.27.1", "@react-native/babel-preset": "^0.80.1", "@testing-library/react-native": "^13.2.0", "@types/jest": "^30.0.0", "@types/jscodeshift": "^17.3.0", "@types/node": "^18.19.123", "@types/plist": "^3.0.5", "@types/react": "^19.1.8", "@types/semver": "^7.7.0", "@types/shelljs": "^0.8.17", "@types/uglify-js": "^3.17.5", "@typescript-eslint/eslint-plugin": "^8.22.0", "@typescript-eslint/parser": "^8.22.0", "compressing": "^1.10.3", "diff": "^8.0.2", "eslint": "^9.29.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsdoc": "^50.6.3", "eslint-plugin-prefer-arrow": "^1.2.3", "eslint-plugin-unicorn": "^42.0.0", "husky": "^9.1.6", "jest": "^30.0.4", "jest-each": "^30.0.2", "jest-junit": "^16.0.0", "jest-mock": "^30.0.2", "npm-check-updates": "^18.0.1", "prettier": "^2.6.1", "react-native-gesture-handler": "^2.28.0", "rollup": "^4.52.4", "rollup-plugin-dts": "^6.2.3", "shelljs": "^0.10.0", "ts-jest": "^29.4.0", "typescript": "^4.7.4", "uglify-js": "^3.19.3" }, "files": [ "react-native.config.js", "react-native-dynatrace.js", "react-native-dynatrace.podspec", "jsx-runtime.js", "jsx-dev-runtime.js", "index.js", "public.js", "internal.js", "react-augmentation.js", "README.md", "LICENSE.md", "package.json", "android/build.gradle", "android/src/**/*", "ios/**/*", "files/*", "command/command.js", "command/util/*", "command/interface/*", "scripts/*", "scripts/api/*", "scripts/core/*", "scripts/api/model/*", "scripts/util/*", "instrumentation/jsx/*.js", "instrumentation/jsx/components/*.js", "instrumentation/libs/*.js", "instrumentation/libs/community/*.js", "instrumentation/libs/community/gesture-handler/*.js", "instrumentation/libs/react-navigation/*.js", "instrumentation/libs/react-native/*.js", "instrumentation/libs/react-native/Touchables.jsx", "instrumentation/model/*.js", "instrumentation/parser/*.js", "instrumentation/DynatraceInstrumentation.js", "lib/*.js", "lib/core/*.js", "lib/core/configuration/*.js", "lib/core/interface/*.js", "lib/core/logging/*.js", "lib/core/model/*.js", "lib/core/util/*.js", "lib/core/*.js", "lib/metro/*.js", "lib/next/*.js", "lib/next/appstart/*.js", "lib/next/events/*.js", "lib/next/events/modifier/*.js", "lib/next/events/spec/*.js", "lib/next/provider/*.js", "src/lib/core/interface/NativeDynatraceBridge.ts", "types.d.ts" ], "codegenConfig": { "name": "DynatraceBridgeSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.dynatrace.android.agent" } }, "engines": { "node": ">=16" } }