ctripcorp/moles-packer
ctripcorp/moles-packer has 712 GitHub stars and 104 forks. GitHot measured -1 stars in 24 hours and -1 in 7 days. Last checked 2026-11-25 05:49 UTC. Last push 2016-11-24.
实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
moles-packer 是由携程框架团队研发的,与携程moles框架配套使用的React Native 打包和拆包工具,同时支持原生的 React Native 项目。
网站与应用README.md
原文Moles Packer
Moles Packer is a light-weighted builder for React Native projects. You can create bundle(s), including a common (basic) bundle and one or more business bundles, from a standard React Native proejct. If pre-built common bundle supplied, you can also create business bundle from a stripped project (without ios, android, node_modules etc.).
Moles Packer is one of the key members in the Moles's tool chain.
Together with growing React Native, Moles Packer is also under continuous development and improvement, see ChangeLog for more details.
React Native Versions Supported
- 0.28.0-rc0
- 0.28.0
- 0.29.0
- 0.30.0-rc0
- 0.37.0 *
* means this version got limited support.
Install
# install globally
npm install -g moles-packer
# command created
moles-packer -v
moles-packer-common -v
Run In CLI
# create an
react-native init rn28 --version 0.28.0
# build the project by Moles Packer
moles-packer \
--input ./rn28 \
--entry index.ios.js \
--output ./build \
--bundle \
--verbose
Node.js API
var mp = require('moles-packer');
var options = {
'input' : './rn28',
'entry' : 'index.ios.js',
'output' : './build',
'bundle' : true
};
mp.pack(options, function(err) {
// !err means build success.
});
User Manual
About Us
Moles is developed and maintained by Framework R&D from ctrip.com.
Any questions, please send mail to [email protected].
Welcome to follow us in WeChat:
探索相关项目
加载中…
