Adding RNPM config

This commit is contained in:
Jonathan Carter
2016-04-06 14:37:18 -07:00
parent 1143222e26
commit 49509298af

View File

@@ -18,7 +18,20 @@
"dependencies": {
"code-push": "1.8.0-beta"
},
"devDependencies": {
"react-native": "0.19.0"
"peerDependencies": {
"react-native": ">=0.19.0"
},
"rnpm": {
"android": {
"packageInstance": "new CodePush('${androidDeployment}', this, BuildConfig.DEBUG)"
},
"ios": {
"sharedLibraries": ["libz"]
},
"params": [{
"type": "input",
"name": "androidDeploymentKey",
"message": "What is your CodePush deployment key for Android"
}]
}
}
}