-
Notifications
You must be signed in to change notification settings - Fork 107
/
help.yuan
63 lines (48 loc) · 2.25 KB
/
help.yuan
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/em:NAME/
moles-packer - Build tool for React Native projects.
/em:SYNOPSIS/
moles-packer /em:--input/ /param:SOURCE_DIRNAME/ /em:--output/ /param:BUILDED_DIRNAME/
moles-packer /em:--input/ /param:SOURCE_DIRNAME/ /em:--dev/
moles-packer /em:--input/ /param:SOURCE_DIRNAME/ /em:--standalone/
moles-packer /em:--input/ /param:SOURCE_DIRNAME/ /em:--common-bundle/ /param:COMMON_BUNDLE/
moles-packer /em:--input/ /param:SOURCE_DIRNAME/ /em:--common-meta/ /param:COMMON_META/
moles-packer /em:--input/ /param:SOURCE_DIRNAME/ /em:--exec-on-required/
moles-packer /em:--input/ /param:SOURCE_DIRNAME/ /em:--bundle/ /param:FILENAME/
moles-packer /em:--help/
moles-packer /em:--version/
/em:DESCRIPTION/
To 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.).
/em:OPTIONS/
/em:--bundle/ [filename]
Specify the filename of the business bundle to be packed out.
If this option omitted, every file in the project will be processed and
exported separately to the output directory.
/em:--common-bundle/ filename
Provide a pre-built common bundle to be used on packing.
/em:--common-meta/ filename
Provide the meta filename of a pre-built common bundle.
/em:--dev/
Donn't compress the business bundle.
/em:--exec-on-required/
To make the modules executed only when they are really required.
/em:--help/
Display this page.
/em:--input/ path
Root path of the React Native project to be packed out.
/em:--output/ path
Where to put the bundle(s) to be packed out.
/em:--platform/ osname
Name of OS the bundle will be running on. By default, "cross" is used as
to create cross-platform output.
/em:--standalone/
Output combined bundle (common bundle + business bundle) which is able to
run independently.
/em:--verbose/
Display detail information on packing.
/em:AUTHOR/
Triver YounGoat <[email protected]>.
Moles team <[email protected]>.
Framework R&D, ctrip.com.