Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 4950929

Browse files
committed
Adding RNPM config
1 parent 1143222 commit 4950929

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

package.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,20 @@
1818
"dependencies": {
1919
"code-push": "1.8.0-beta"
2020
},
21-
"devDependencies": {
22-
"react-native": "0.19.0"
21+
"peerDependencies": {
22+
"react-native": ">=0.19.0"
23+
},
24+
"rnpm": {
25+
"android": {
26+
"packageInstance": "new CodePush('${androidDeployment}', this, BuildConfig.DEBUG)"
27+
},
28+
"ios": {
29+
"sharedLibraries": ["libz"]
30+
},
31+
"params": [{
32+
"type": "input",
33+
"name": "androidDeploymentKey",
34+
"message": "What is your CodePush deployment key for Android"
35+
}]
2336
}
24-
}
37+
}

0 commit comments

Comments
 (0)