Warn when installing globally react-native instead of react-native-cli

This adds a react-native binary that just output some instructions.
This commit is contained in:
Christopher Chedeau
2015-04-07 21:11:46 -07:00
parent 436682fbad
commit 0a5967dbfe
2 changed files with 8 additions and 0 deletions

View File

@@ -39,6 +39,7 @@
"start": "./packager/packager.sh"
},
"bin": {
"react-native": "local-cli/wrong-react-native.js",
"react-native-start": "packager/packager.sh"
},
"dependencies": {