-
-
Notifications
You must be signed in to change notification settings - Fork 146
/
package.json
176 lines (176 loc) · 7.76 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "react-native-google-mobile-ads",
"version": "14.4.0",
"author": "Invertase <[email protected]> (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": "11.10.0",
"googleUmp": "2.6.0"
},
"android": {
"minSdk": 21,
"targetSdk": 34,
"compileSdk": 34,
"buildTools": "34.0.0",
"googleMobileAds": "23.4.0",
"googleUmp": "3.0.0"
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"scripts": {
"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 && yarn detox build --configuration android.emu.debug",
"tests:android:build:windows": "cd RNGoogleMobileAdsExample && yarn detox build --configuration android.emu.debug.windows",
"tests:android:build-release": "cd RNGoogleMobileAdsExample && yarn detox build --configuration android.emu.release",
"tests:android:build-release:windows": "cd RNGoogleMobileAdsExample && yarn detox build --configuration android.emu.release.windows",
"tests:android:test": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.debug --loglevel trace",
"tests:android:run": "cd RNGoogleMobileAdsExample && yarn react-native run-android",
"tests:android:test:windows": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.debug.windows --loglevel trace",
"tests:android:test-release": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.release --loglevel trace",
"tests:android:test-release:windows": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.release.windows --loglevel trace",
"tests:android:test:debug": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.debug --inspect",
"tests:android:test-reuse": "cd RNGoogleMobileAdsExample && yarn detox test --configuration android.emu.debug --reuse",
"tests:android:test-cover": "cd RNGoogleMobileAdsExample && ./node_modules/.bin/nyc yarn detox test --loglevel trace --configuration android.emu.debug",
"tests:android:test-cover-reuse": "cd RNGoogleMobileAdsExample && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.debug --reuse",
"tests:ios:build": "cd RNGoogleMobileAdsExample && yarn detox build --configuration ios.sim.debug",
"tests:ios:build-release": "cd RNGoogleMobileAdsExample && yarn detox build --configuration ios.sim.release",
"tests:ios:test": "cd RNGoogleMobileAdsExample && yarn detox test --configuration ios.sim.debug --loglevel warn",
"tests:ios:run": "cd RNGoogleMobileAdsExample && yarn react-native run-ios",
"tests:ios:test:debug": "cd RNGoogleMobileAdsExample && yarn detox test --configuration ios.sim.debug --loglevel warn --inspect",
"tests:ios:test-reuse": "cd RNGoogleMobileAdsExample && yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
"tests:ios:test-cover": "cd RNGoogleMobileAdsExample && ./node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug",
"tests:ios:test-cover-reuse": "cd RNGoogleMobileAdsExample && node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
"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 --latest"
},
"dependencies": {
"@iabtcf/core": "^1.5.3",
"use-deep-compare-effect": "^1.8.1"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@react-native/babel-preset": "^0.76.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.6",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@testing-library/react-native": "^11.5.0",
"@types/jest": "^29.2.0",
"@types/node": "^18.11.7",
"@types/react": "^18.0.24",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"babel-jest": "^29.2.2",
"clang-format": "1.8.0",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"expo": "^47.0.0",
"expo-module-scripts": "^3.5.2",
"genversion": "^3.1.1",
"google-java-format": "^1.1.0",
"jest": "^29.2.2",
"prettier": "^2.7.1",
"react": "^18.3.1",
"react-native": "^0.76.2",
"react-native-builder-bob": "^0.20.0",
"react-test-renderer": "^18.3.1",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"spellchecker-cli": "^6.1.1",
"typescript": "^5.5.3"
},
"peerDependencies": {
"expo": ">=47.0.0"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"codegenConfig": {
"name": "RNGoogleMobileAdsSpec",
"type": "all",
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "io.invertase.googlemobileads"
}
}
}