-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharvis-workflow.json
76 lines (76 loc) · 2.08 KB
/
arvis-workflow.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
{
"$schema": "https://raw.githubusercontent.com/jopemachine/arvis-extension-validator/master/workflow-schema.json",
"defaultIcon": "icon.png",
"category": "Productivity",
"creator": "Yago",
"description": "Optimize copied SVG markup",
"name": "arvis-svg-optimizer",
"version": "0.0.1",
"readme": "",
"webAddress": "https://github.com/arvis-workflows/arvis-svg-optimizer",
"enabled": true,
"variables": {
"removeDoctype": true,
"removeXMLProcInst": true,
"removeComments": true,
"removeMetadata": true,
"removeXMLNS": false,
"removeEditorsNSData": true,
"cleanupAttrs": true,
"inlineStyles": true,
"minifyStyles": true,
"convertStyleToAttrs": true,
"cleanupIDs": true,
"removeRasterImages": false,
"removeUselessDefs": true,
"cleanupNumericValues": true,
"cleanupListOfValues": false,
"convertColors": true,
"removeUnknownsAndDefaults": true,
"removeNonInheritableGroupAttrs": true,
"removeUselessStrokeAndFill": true,
"removeViewBox": false,
"cleanupEnableBackground": true,
"removeHiddenElems": true,
"removeEmptyText": true,
"convertShapeToPath": true,
"moveElemsAttrsToGroup": true,
"moveGroupAttrsToElems": true,
"collapseGroups": true,
"convertPathData": true,
"convertTransform": true,
"removeEmptyAttrs": true,
"removeEmptyContainers": true,
"mergePaths": true,
"removeUnusedNS": true,
"sortAttrs": false,
"removeTitle": true,
"removeDesc": true,
"removeDimensions": true,
"removeStyleElement": false,
"removeScriptElement": false
},
"commands": [
{
"type": "keyword",
"command": "svgo",
"title": "SVGO",
"subtitle": "Optimize copied SVG markup",
"argType": "required",
"actions": [
{
"type": "script",
"modifiers": "normal",
"script": "node index.js {query}",
"actions": [
{
"type": "clipboard",
"modifiers": "normal",
"text": "{query}"
}
]
}
]
}
]
}