forked from invertase/react-native-google-mobile-ads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 7.21 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
{
"name": "react-native-google-mobile-ads",
"version": "12.10.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/",
"/src/",
"/docs.json",
"/RNGoogleMobileAds.podspec",
"/babel.config.js",
"/jest.config.js",
"/jest.setup.ts",
"/ios_config.sh",
"/react-native.config.js"
],
"sdkVersions": {
"ios": {
"googleMobileAds": "10.14.0",
"googleUmp": "2.1.0"
},
"android": {
"minSdk": 19,
"targetSdk": 33,
"compileSdk": 33,
"buildTools": "33.0.0",
"googleMobileAds": "23.0.0",
"googleUmp": "2.2.0"
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"scripts": {
"prepare": "yarn build",
"build": "genversion --es6 --semi src/version.ts && bob build",
"build:clean": "rimraf android/build && rimraf ios/build && rimraf lib",
"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 . --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 . --noEmit",
"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: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: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.19.6",
"@babel/preset-env": "^7.19.4",
"@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",
"@types/react-native": "^0.70.6",
"@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",
"genversion": "^3.1.1",
"google-java-format": "^1.1.0",
"jest": "^29.2.2",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-native": "0.70.4",
"react-native-builder-bob": "^0.20.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"typescript": "^4.8.4"
},
"publishConfig": {
"access": "public"
},
"codegenConfig": {
"name": "RNGoogleMobileAdsSpec",
"type": "all",
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "io.invertase.googlemobileads"
}
}
}