0.0.3 • Published 5 years ago

@creaspan/krn-cli v0.0.3

Weekly downloads
1
License
-
Repository
github
Last release
5 years ago

krn-cli

krn init app name

? please input the package name ( app name) // 包名 ? please input the app display name (Scaffold) // 应用名 ? please input the git repository url // git 地址

1,使用 git 的方法拉去模板代码。https://gitlab.qunhequnhe.com/app/scaffold

2,去掉 git 信息,变为自己的 git 信息;

3,修改相关包名。

3,npm install 其中的 rn-pack 的相关基础依赖;

krn run android | ios

1,打包 native 代码并安装

2,启动 react-native 服务

krn pack android | ios

1,打包 react-native 相关代码

2,native 端代码打包