UNPKG

react-native-google-mobile-ads

Version:

React Native Google Mobile Ads is an easy way to monetize mobile apps with targeted, in-app advertising.

176 lines (175 loc) 6.37 kB
{ "name": "react-native-google-mobile-ads", "version": "16.0.1", "author": "Invertase <oss@invertase.io> (http://invertase.io)", "description": "React Native Google Mobile Ads is an easy way to monetize mobile apps with targeted, in-app advertising.", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "react-native": "src/index.ts", "types": "lib/typescript/index.d.ts", "repository": { "type": "git", "url": "https://github.com/invertase/react-native-google-mobile-ads" }, "license": "Apache-2.0", "keywords": [ "react", "react-native", "admob", "mobile ads", "google ads", "gdpr", "banner ad", "rewarded ad", "interstitial", "ad consent" ], "files": [ "/__tests__/", "/android/", "/docs/", "/ios/", "/lib/", "/plugin/", "/src/", "/docs.json", "/RNGoogleMobileAds.podspec", "/app.plugin.js", "/babel.config.js", "/jest.config.js", "/jest.setup.ts", "/ios_config.sh", "/react-native.config.js" ], "sdkVersions": { "ios": { "googleMobileAds": "12.11.0", "googleUmp": "3.0.0" }, "android": { "minSdk": 23, "targetSdk": 34, "compileSdk": 34, "buildTools": "34.0.0", "googleMobileAds": "24.6.0", "googleUmp": "3.2.0" } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] }, "scripts": { "postinstallDev": "yarn prepare", "prepare": "yarn build && yarn build:plugin", "build": "genversion --es6 --semi src/version.ts && bob build", "build:clean": "rimraf android/build && rimraf ios/build && rimraf lib && rimraf plugin/build", "build:plugin": "yarn tsc --build plugin", "lint:code": "yarn lint:js && yarn lint:android && yarn lint:ios:check", "lint:js": "eslint src/ --ext .js,.jsx,.ts,.tsx --max-warnings=0", "lint:android": "google-java-format --set-exit-if-changed --replace --glob=\"android/**/*.java\"", "lint:ios:check": "clang-format --glob=\"ios/**/*.{h,cpp,m,mm}\" --style=Google -n -Werror", "lint:ios:fix": "clang-format -i --glob=\"ios/**/*.{h,cpp,m,mm}\" --style=Google", "lint:markdown:check": "prettier --check \"docs/**/*.md[x]\"", "lint:markdown:fix": "prettier --write \"docs/**/*.md[x]\"", "lint:report": "eslint --output-file=eslint-report.json --format=json src/ --ext .js,.jsx,.ts,.tsx", "lint:spellcheck": "spellchecker --quiet --files=\"docs/**/*.md\" --dictionaries=\"./.spellcheck.dict.txt\" --reports=\"spelling.json\" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter", "tsc:compile": "tsc --project tsconfig.test.json", "lint": "yarn lint:code && yarn tsc:compile", "tests:jest": "jest", "tests:jest-watch": "jest --watch", "tests:jest-coverage": "jest --coverage", "tests:install": "cd RNGoogleMobileAdsExample && yarn", "tests:packager": "cd RNGoogleMobileAdsExample && yarn react-native start", "tests:packager:reset-cache": "cd RNGoogleMobileAdsExample && yarn react-native start --reset-cache", "tests:android:build": "cd RNGoogleMobileAdsExample/android && ./gradlew assembleDebug", "tests:android:build:windows": "cd RNGoogleMobileAdsExample/android && ./gradlew.bat assembleDebug", "tests:android:build-release": "cd RNGoogleMobileAdsExample/android && ./gradlew.bat assembleRelease", "tests:android:build-release:windows": "cd RNGoogleMobileAdsExample/android && ./gradlew.bat assembleRelease", "tests:android:run": "cd RNGoogleMobileAdsExample && yarn android", "tests:ios:run": "cd RNGoogleMobileAdsExample && yarn react-native run-ios", "tests:ios:pod:install": "cd RNGoogleMobileAdsExample && cd ios && rm -rf RNGoogleMobileAdsExample.xcworkspace && rm -f Podfile.lock && pod install --repo-update && cd ..", "package:update": "yarn upgrade-interactive" }, "dependencies": { "@iabtcf/core": "^1.5.6", "use-deep-compare-effect": "^1.8.1" }, "devDependencies": { "@babel/core": "^7.28.4", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.38.0", "@react-native/babel-preset": "^0.82.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^12.0.0", "@semantic-release/npm": "^13.1.1", "@semantic-release/release-notes-generator": "^14.1.0", "@testing-library/react-native": "^13.3.3", "@types/jest": "^30.0.0", "@types/node": "^24.9.1", "@types/react": "^19.2.2", "@typescript-eslint/eslint-plugin": "^8.46.2", "@typescript-eslint/parser": "^8.46.2", "babel-jest": "^30.2.0", "clang-format": "1.8.0", "conventional-changelog": "^7.1.1", "conventional-changelog-conventionalcommits": "^9.1.0", "eslint": "^9.38.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^29.0.1", "eslint-plugin-mocha": "^11.2.0", "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-react": "^7.37.5", "expo": "^54.0.18", "expo-module-scripts": "^5.0.7", "genversion": "^3.2.0", "globals": "^16.4.0", "google-java-format": "^2.0.1", "jest": "^30.2.0", "prettier": "^3.6.2", "react": "^19.2.0", "react-native": "^0.82.1", "react-native-builder-bob": "^0.40.13", "react-native-test-app": "^4.4.12", "react-test-renderer": "^19.2.0", "rimraf": "^6.0.1", "semantic-release": "^25.0.1", "spellchecker-cli": "^7.0.0", "typescript": "^5.9.3" }, "peerDependencies": { "expo": ">=47.0.0" }, "peerDependenciesMeta": { "expo": { "optional": true } }, "publishConfig": { "access": "public" }, "codegenConfig": { "name": "RNGoogleMobileAdsSpec", "type": "all", "jsSrcsDir": "./src/specs", "ios": { "componentProvider": { "RNGoogleMobileAdsBannerView": "RNGoogleMobileAdsBannerView", "RNGoogleMobileAdsNativeView": "RNGoogleMobileAdsNativeView", "RNGoogleMobileAdsMediaView": "RNGoogleMobileAdsMediaView" } }, "android": { "javaPackageName": "io.invertase.googlemobileads" } }, "packageManager": "yarn@4.10.3" }