Skip to content

Commit

Permalink
feat: replace npm with cnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
benjycui committed Jul 30, 2016
1 parent 1b135bc commit e4b7da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -213,7 +213,7 @@ function getInstallPackage(rnPackage) {
}

function run(root, projectName, rnPackage) {
exec('npm install --save --save-exact ' + getInstallPackage(rnPackage), function(e, stdout, stderr) {
exec('cnpm install --save --save-exact ' + getInstallPackage(rnPackage), function(e, stdout, stderr) {
if (e) {
console.log(stdout);
console.error(stderr);
Expand Down

0 comments on commit e4b7da6

Please sign in to comment.