generated from linhay/node-typescript-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
110 lines (110 loc) · 2.6 KB
/
config.yaml
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
---
report:
mode: 'json'
path: "./report/report.json"
tasks:
- inputs:
- "./assets/icons"
ignore:
- "./assets/icons/dui_analysis_icon.svg"
fileLints:
- name: "文件名只能使用大小写字母下划线"
pattern: "^[a-zA-Z][0-9a-zA-Z\\_]*$"
- name: "文件名不能存在双下划线"
pattern: "^(?!.*__.*)[a-zA-Z][0-9a-zA-Z\\_]*$"
coverters:
- type: gif
output:
path: "./products/android/x3"
- type: gif
output:
path: "./products/ios/icon"
- type: icon
name: android@3x
icon_scale: 3
output:
minimum_quality: 0.7
maximum_quality: 0.8
path: "./products/android/icon/x2"
icon_scale: 2
- type: icon
name: android@3x
icon_scale: 3
enable_compression_minimum_size: 1024
output:
path: "./products/android/icon/x3"
- type: icon
name: android-smart_mixed@2x
icon_scale: 3
output:
type: android_smart_mixed
minimum_quality: 0.7
maximum_quality: 0.8
path: "./products/android/webp/x2"
icon_scale: 2
- type: icon
name: android-smart_mixed@3x
icon_scale: 3
enable_compression_minimum_size: 1024
output:
type: android_smart_mixed
path: "./products/android/webp/x3"
- type: icon
icon_scale: 3
output:
type: ios_smart_mixed
path: "./products/ios/icon/ios_smart_mixed/x2"
icon_scale: 2
icon_suffix: "@2x"
- type: icon
icon_scale: 3
output:
type: ios_smart_mixed
path: "./products/ios/icon/ios_smart_mixed/x3"
icon_suffix: "@3x"
- type: icon
icon_scale: 3
output:
path: "./products/ios/icon/default/x2"
icon_scale: 2
icon_suffix: "@2x"
- type: icon
icon_scale: 3
output:
path: "./products/ios/icon/default/x3"
icon_suffix: "@3x"
- type: svg
output:
type: vector_drawable
path: "./products/android/vector_template"
- type: svg
output:
path: "./products/ios/svg"
- type: svg
output:
type: pdf
path: "./products/ios/vector_template"
- type: svg
output:
type: iconfont
path: "./products/flutter/iconfont"
- type: svg
output:
type: iconfont
path: "./products/ios/iconfont"
iconfont_family_name: khala_iconfont
iconfont_font_name: khala_iconfont
- inputs:
- "./assets/patch9_2x"
coverters:
- type: file
output:
file_excludes_same_name_with_different_suffixes: true
path: "./products/android/x2"
- inputs:
- "./assets/patch9_3x"
coverters:
- type: file
output:
file_excludes_same_name_with_different_suffixes: true
path: "./products/android/x3"