Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Jest test mocks #58

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 95 additions & 94 deletions applicationinsights-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,97 +1,98 @@
{
"name": "@microsoft/applicationinsights-react-native",
"version": "4.3.2",
"description": "Microsoft Application Insights React Native Plugin",
"main": "dist-esm/index.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist-esm/index.js"
},
"./manual": {
"types": "./types/manualIndex.d.ts",
"import": "./dist-esm/manualIndex.js"
}
"name": "@microsoft/applicationinsights-react-native",
"version": "4.3.2",
"description": "Microsoft Application Insights React Native Plugin",
"main": "dist-esm/index.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist-esm/index.js",
"require": "./dist/applicationinsights-react-native.js"
},
"types": "types/index.d.ts",
"sideEffects": false,
"author": "Microsoft Application Insights Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-react-native"
},
"bugs": {
"url": "https://github.com/microsoft/applicationinsights-react-native/issues"
},
"homepage": "https://github.com/microsoft/applicationinsights-react-native#readme",
"keywords": [
"performance monitoring",
"application insights",
"microsoft",
"azure",
"react native"
],
"scripts": {
"build": "npm run build:esm && npm run build:package && npm run dtsgen",
"build:esm": "grunt reactnative",
"build:package": "rollup -c",
"rebuild": "npm run build",
"test": "grunt reactnativetests",
"mintest": "grunt reactnative-mintests",
"testx": "npm run build:test && grunt reactnativetests",
"lint": "tslint -p tsconfig.json",
"dtsgen": "api-extractor run --local && node ../scripts/dtsgen.js \"Microsoft Application Insights react native plugin\"",
"ai-min": "grunt reactnative-min",
"ai-restore": "grunt reactnative-restore"
},
"devDependencies": {
"@microsoft/ai-test-framework": "0.0.1",
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
"@microsoft/api-extractor": "^7.18.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"grunt-contrib-uglify": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
"@nevware21/grunt-eslint-ts": "^0.2.2",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"qunit": "^2.11.2",
"react": "^18.0.0",
"react-native": "^0.69.9",
"globby": "^11.0.0",
"magic-string": "^0.25.7",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.3.3",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup": "^2.77.2",
"typescript": "^4.3.4",
"tslib": "^2.0.0",
"uglify-js": "3.16.0"
},
"dependencies": {
"@microsoft/applicationinsights-common": "^3.3.2",
"@microsoft/applicationinsights-core-js": "^3.3.2",
"@microsoft/applicationinsights-shims": "^3.0.1",
"@microsoft/dynamicproto-js": "^2.0.3",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
},
"peerDependencies": {
"tslib": "*",
"react-native": "*",
"react-native-device-info": ">=5.2.1"
},
"peerDependenciesMeta": {
"react-native-device-info": {
"optional": true
}
"./manual": {
"types": "./types/manualIndex.d.ts",
"import": "./dist-esm/manualIndex.js"
}
},
"types": "types/index.d.ts",
"sideEffects": false,
"author": "Microsoft Application Insights Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/applicationinsights-react-native"
},
"bugs": {
"url": "https://github.com/microsoft/applicationinsights-react-native/issues"
},
"homepage": "https://github.com/microsoft/applicationinsights-react-native#readme",
"keywords": [
"performance monitoring",
"application insights",
"microsoft",
"azure",
"react native"
],
"scripts": {
"build": "npm run build:esm && npm run build:package && npm run dtsgen",
"build:esm": "grunt reactnative",
"build:package": "rollup -c",
"rebuild": "npm run build",
"test": "grunt reactnativetests",
"mintest": "grunt reactnative-mintests",
"testx": "npm run build:test && grunt reactnativetests",
"lint": "tslint -p tsconfig.json",
"dtsgen": "api-extractor run --local && node ../scripts/dtsgen.js \"Microsoft Application Insights react native plugin\"",
"ai-min": "grunt reactnative-min",
"ai-restore": "grunt reactnative-restore"
},
"devDependencies": {
"@microsoft/ai-test-framework": "0.0.1",
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
"@microsoft/api-extractor": "^7.18.1",
"grunt": "^1.5.3",
"grunt-cli": "^1.4.3",
"grunt-contrib-qunit": "^5.0.1",
"grunt-contrib-uglify": "^5.0.1",
"@nevware21/grunt-ts-plugin": "^0.4.3",
"@nevware21/grunt-eslint-ts": "^0.2.2",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"qunit": "^2.11.2",
"react": "^18.0.0",
"react-native": "^0.69.9",
"globby": "^11.0.0",
"magic-string": "^0.25.7",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.3.3",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup": "^2.77.2",
"typescript": "^4.3.4",
"tslib": "^2.0.0",
"uglify-js": "3.16.0"
},
"dependencies": {
"@microsoft/applicationinsights-common": "^3.3.2",
"@microsoft/applicationinsights-core-js": "^3.3.2",
"@microsoft/applicationinsights-shims": "^3.0.1",
"@microsoft/dynamicproto-js": "^2.0.3",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
},
"peerDependencies": {
"tslib": "*",
"react-native": "*",
"react-native-device-info": ">=5.2.1"
},
"peerDependenciesMeta": {
"react-native-device-info": {
"optional": true
}
}
}
}