UNPKG

@dynatrace/react-native-plugin

Version:

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

205 lines (204 loc) 6.33 kB
{ "name": "@dynatrace/react-native-plugin", "version": "2.319.1", "description": "This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.", "main": "index.js", "types": "typings/react-native-dynatrace.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": "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": { "displayName": "@dynatrace/react-native-plugin", "preset": "react-native", "moduleNameMapper": { "@expo/metro-config/babel-transformer": "<rootDir>/__mocks__/@expo/metro-config/babel-transformer.js", "metro-react-native-babel-transformer/src/index": "<rootDir>/__mocks__/metro-react-native-babel-transformer.js", "@react-native/metro-babel-transformer": "<rootDir>/__mocks__/@react-native/metro-babel-transformer.js" }, "moduleDirectories": [ "node_modules" ], "unmockedModulePathPatterns": [ "node_modules" ], "modulePathIgnorePatterns": [ "<rootDir>/src", "<rootDir>/tests/commandTestTmp", "node_modules/react-native/local-cli" ], "transform": { "^.+\\.(ts|tsx)$": "ts-jest" }, "testPathIgnorePatterns": [ "<rootDir>/src", "<rootDir>/tests/commandTestTmp" ], "transformIgnorePatterns": [ "node_modules/(?!(@react-native|react-native)/)" ], "setupFiles": [ "<rootDir>/tests/setup/setup.js" ], "testResultsProcessor": "jest-junit", "testRegex": [ "(/__tests__/.*|(\\.|/)(Test|spec))\\.[jt]sx?$" ] }, "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.2", "jscodeshift": "^17.3.0", "plist": "^3.1.0", "proxy-polyfill": "^0.3.2", "semver": "^7.7.2" }, "homepage": "https://www.dynatrace.com/", "peerDependencies": { "@babel/parser": ">=7.4.4", "@react-native-picker/picker": ">=1.0.0", "react": ">=16.11.0", "react-native": ">=0.62.0" }, "devDependencies": { "@babel/cli": "^7.27.2", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3", "@babel/plugin-proposal-optional-chaining": "^7.8.3", "@babel/plugin-transform-flow-strip-types": "^7.8.3", "@babel/plugin-transform-runtime": "^7.12.1", "@babel/preset-env": "^7.4.4", "@babel/preset-react": "^7.8.3", "@testing-library/react-native": "^7.0.2", "@types/jest": "^29.5.1", "@types/jscodeshift": "^0.11.6", "@types/libxmljs": "^0.18.3", "@types/mock-fs": "^4.13.4", "@types/node": "^18.19.71", "@types/plist": "^3.0.2", "@types/react-native": "^0.63.32", "@types/semver": "^7.5.0", "@types/shelljs": "^0.8.8", "@types/uglify-js": "^3.17.1", "@typescript-eslint/eslint-plugin": "^8.22.0", "@typescript-eslint/parser": "^8.22.0", "compressing": "^1.5.1", "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": "^28.1.3", "jest-each": "^28.1.3", "jest-junit": "^14.0.0", "jest-mock": "^28.1.3", "mock-fs": "^5.5.0", "npm-check-updates": "^18.0.1", "prettier": "^2.6.1", "shelljs": "^0.8.5", "ts-jest": "^28.0.7", "ts-mockito": "^2.6.1", "typescript": "^4.7.4", "uglify-js": "^3.17.4" }, "files": [ "react-native.config.js", "react-native-dynatrace.js", "react-native-dynatrace.podspec", "jsx-runtime.js", "jsx-dev-runtime.js", "README.md", "LICENSE.md", "package.json", "android/build.gradle", "android/src/**/*", "ios/**/*", "files/*", "typings/*", "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" ], "codegenConfig": { "name": "DynatraceBridgeSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.dynatrace.android.agent" } }, "engines": { "node": ">=18" } }