-
Notifications
You must be signed in to change notification settings - Fork 0
/
arguments.json
61 lines (61 loc) · 1.59 KB
/
arguments.json
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
{
"w": {
"alias": "width",
"description": "Desired Width (in pixel).",
"type": "number"
},
"h": {
"alias": "height",
"description": "Desired Height (in pixel).",
"type": "number"
},
"e": {
"alias": "engine",
"description": "Engine to render out the images.",
"type": "string"
},
"c": {
"alias": "config",
"description": "Specify a custom configuration file. defaults to spirit.json."
},
"O": {
"alias": "output",
"description": "Specify where the file result should be saved.",
"type": "string"
},
"s": {
"alias": "source",
"description": "Glob pattern, specify the source files eg. ./**/*.{jpg,png}",
"type": "string"
},
"n": {
"alias": "name",
"description": "Name of the output file. defaults to sprite.",
"type": "string"
},
"f": {
"alias": "format",
"description": "Format of the output file. defaults to png",
"type": "string"
},
"m": {
"alias": "margin",
"description": "Margin given on each sprite during the packing process. defaults to 1 pixel.",
"type": "number"
},
"S": {
"alias": "sort",
"description": "Sorting algorithm. defaults automatic",
"type": "string"
},
"o": {
"alias": "optimize",
"description": "Optimize output.",
"default": "false"
},
"q": {
"alias": "optimize-quality",
"description": "Optimize quality.",
"type": "string"
}
}