Skip to content

Commit 2f1ee6e

Browse files
committed
Add bob cli.
1 parent 3d86021 commit 2f1ee6e

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,6 @@ proguard/
7878

7979
# Android Studio captures folder
8080
captures/
81+
82+
# generated by bob
83+
lib/

Diff for: package.json

+23-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"name": "react-native-geocoder-reborn",
33
"version": "0.9.0",
44
"description": "Geocoding for react native.",
5-
"main": "index.js",
5+
"main": "/index.js",
66
"scripts": {
7-
"test": "mocha --recursive --require test/setup.js --reporter dot test/unit"
7+
"test": "mocha --recursive --require test/setup.js --reporter dot test/unit",
8+
"prepare": "bob build"
89
},
910
"keywords": [
1011
"react-native",
@@ -34,5 +35,23 @@
3435
"@react-native-community/bob": "^0.10.0",
3536
"detox": "^16.0.0",
3637
"jest": "^25.1.0"
37-
}
38-
}
38+
},
39+
"react-native": "/index.js",
40+
"module": "lib/module/index.js",
41+
"files": [
42+
"/",
43+
"lib"
44+
],
45+
"@react-native-community/bob": {
46+
"source": "/",
47+
"output": "lib",
48+
"targets": [
49+
"aar",
50+
"module"
51+
]
52+
},
53+
"eslintIgnore": [
54+
"node_modules/",
55+
"lib/"
56+
]
57+
}

0 commit comments

Comments
 (0)