/
package.json
115 lines (115 loc) 路 2.9 KB
/
package.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "flutter-gen",
"version": "1.2.1",
"description": "The Flutter dart code generator from zeplin. ex) Container, Text, Color, TextStyle, ... - Save your time.",
"scripts": {
"start": "zem start",
"build": "zem build",
"clean": "zem clean",
"exec": "zem exec",
"publish": "zem publish",
"lint": "eslint src/index.js --fix"
},
"author": {
"name": "yutae",
"email": "yutae.choi@navercorp.com"
},
"repository": {
"type": "git",
"url": "https://github.com/naver/zeplin-flutter-gen.git"
},
"zeplin": {
"displayName": "Flutter Gen",
"platforms": [
"web",
"android",
"ios"
],
"options": [
{
"name": "Color class name prefix ex) class ZeplinColors",
"type": "text",
"id": "colorsClassPrefix",
"default": "Zeplin"
},
{
"name": "Use color name ex) ZeplinColors.white",
"type": "switch",
"id": "useColorName",
"default": true
},
{
"name": "Text widget class name. It can be used for custom class. ex) class StrutText",
"type": "text",
"id": "textWidgetClassName",
"default": "Text"
},
{
"name": "TextStyle class name prefix ex) class ZeplinTextStyles",
"type": "text",
"id": "textStylesClassPrefix",
"default": "Zeplin"
},
{
"name": "Use text style name ex) ZeplinTextStyles.title",
"type": "switch",
"id": "useTextStyleName",
"default": false
},
{
"name": "Skip Default value ex) ~FontWeight.w400~",
"type": "switch",
"id": "defaultValueSkipped",
"default": true
},
{
"name": "Skip width in Container",
"type": "switch",
"id": "widthInContainerSkipped",
"default": true
},
{
"name": "Skip height in Container",
"type": "switch",
"id": "heightInContainerSkipped",
"default": false
},
{
"name": "Skip margin left & right in Container",
"type": "switch",
"id": "marginLeftAndRightInContainerSkipped",
"default": false
},
{
"name": "Skip font family in TextStyle ex) AppleSDGothicNeo,HelveticaNeue (* : All font)",
"type": "text",
"id": "excludeFontFamily",
"default": ""
},
{
"name": "Skip letterSpacing in TextStyle",
"type": "switch",
"id": "letterSpacingValueSkipped",
"default": true
},
{
"name": "Skip lineHeight in TextStyle",
"type": "switch",
"id": "lineHeightValueSkipped",
"default": true
},
{
"name": "Skip StrutStyle in Text",
"type": "switch",
"id": "strutStyleSkipped",
"default": true
}
]
},
"dependencies": {
"zem": "^1.3.1"
},
"devDependencies": {
"eslint": "^6.6.0"
}
}