Skip to content

caiwenshu/sm-metro-bundler-cli

Repository files navigation

sm-metro-bundler-cli

sm-metro-bundler-cli 自定义React Native打包,调整Id的引用为字符串,

基于React Native 0.50.3

npm version

##来源

FEATURE

  • 增加id的引用使用字符串

INSTALLATION

Install with npm globally:

npm install --global sm-metro-bundler-cli

or as a dependency for your project:

npm install --save sm-metro-bundler-cli

USAGE

sm-metro-bundler-cli extends the officail bundle command line tool rather than change it, so you can bundle as usual with metro-bundler-cli.

sm-metro-bundler bundle  \
--entry-file index.js  \
--bundle-output dist/business.jsbundle  \
--assets-dest dist \
--platform ios  \
--dev false

init 用于创建整合公司架构的项目结构,模板来源私有库sm-react-native-templates,减少项目异构带来的问题

sm-metro-bundler init projectName

upgrade 升级当前项目的框架代码,同时会更新template.json文件,模板来源私有库sm-react-native-templates

sm-metro-bundler upgrade

validate 校验当前模板是否为最新版本,模板来源私有库sm-react-native-templates

sm-metro-bundler validate

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages