Skip to content

Commit cbaa304

Browse files
alvaroalvaro
authored andcommitted
added requirements for prebuilt packaging handling
1 parent fbc7a82 commit cbaa304

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

package.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "react-native-admob-ios-sdk-prebuilt",
3+
"version": "0.0.1",
4+
"description": "admob dependencies auto fetch for react-native-admob",
5+
"scripts": {
6+
"postinstall": "node postinstall.js"
7+
},
8+
"repository": {
9+
"type": "git",
10+
"url": "git+https://github.com/kanekotic/react-native-admob-ios-sdk-prebuilt.git"
11+
},
12+
"keywords": [
13+
"prebuilt",
14+
"react-native",
15+
"admob",
16+
"sdk",
17+
"ios"
18+
],
19+
"author": "kanekotic",
20+
"license": "MIT",
21+
"bugs": {
22+
"url": "https://github.com/kanekotic/react-native-admob-ios-sdk-prebuilt/issues"
23+
},
24+
"homepage": "https://github.com/kanekotic/react-native-admob-ios-sdk-prebuilt#readme",
25+
"dependencies": {
26+
"any-prebuilt": "0.0.9"
27+
},
28+
"prebuilt": {
29+
"user": "kanekotic",
30+
"repo": "react-native-admob-ios-sdk-prebuilt",
31+
"platform": "all",
32+
"arch": "all",
33+
"targetDir": "../../ios"
34+
}

postinstall.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require('any-prebuilt').install(require('./package.json').prebuilt)

0 commit comments

Comments
 (0)