创建一个叫AwesomeProject的项目
react-native init AwesomeProject
升级react-native项目到最新版本
react-native upgrade
启动打包服务
react-native start
在安卓上运行debug程序
react-native run-android
在安卓上运行debug程序
react-native android
在苹果上运行debug程序
react-native run-ios
打离线包
react-native bundle
react-native unbundle
为项目添加三方依赖
react-native link
generates a native library bridge
react-native new-library