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

Commit 14a6d08

Browse files
committed
Merge pull request #279 from Microsoft/package_json
Adding RNPM config
2 parents 1143222 + 5b193e6 commit 14a6d08

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

package.json

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

0 commit comments

Comments
 (0)