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.
측정된 스타 증가
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
moles-packer는 Ctrip 프레임워크 팀이 개발한 React Native 패키징 및 패키지 해제 도구로, Ctrip의 moles 프레임워크와 함께 사용할 수 있습니다. 네이티브 React Native 프로젝트도 지원합니다.
웹 및 앱README.md
OriginalMoles 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:
관련 프로젝트 살펴보기
불러오는 중…
