mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
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:
@@ -39,6 +39,7 @@
|
||||
"start": "./packager/packager.sh"
|
||||
},
|
||||
"bin": {
|
||||
"react-native": "local-cli/wrong-react-native.js",
|
||||
"react-native-start": "packager/packager.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user