mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-19 19:39:54 +08:00
Adding RNPM config
This commit is contained in:
19
package.json
19
package.json
@@ -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"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user