This repository has been archived by the owner on Apr 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
186 lines (186 loc) · 5.8 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "vscode-svgviewer",
"displayName": "SVG Viewer",
"description": "SVG Viewer for Visual Studio Code.",
"version": "2.0.1",
"publisher": "cssho",
"engines": {
"vscode": "^1.30.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:xml",
"onCommand:svgviewer.open",
"onCommand:svgviewer.saveas",
"onCommand:svgviewer.saveassize",
"onCommand:svgviewer.copydui",
"onCommand:svgviewer.openexport",
"onWebviewPanel:svg.preview",
"onWebviewPanel:svg.export",
"*"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "svgviewer.open",
"title": "SVG Viewer: View SVG",
"icon": {
"light": "./media/preview-darkgray.svg",
"dark": "./media/preview-lightgray.svg"
}
},
{
"command": "svgviewer.saveas",
"title": "SVG Viewer: Export PNG"
},
{
"command": "svgviewer.saveassize",
"title": "SVG Viewer: Export PNG explicitly set the size"
},
{
"command": "svgviewer.copydui",
"title": "SVG Viewer: Copy data URI scheme"
},
{
"command": "svgviewer.openexport",
"title": "SVG Viewer: (Experimental) Export PNG by Canvas"
}
],
"menus": {
"editor/title": [
{
"when": "editorLangId == xml",
"command": "svgviewer.open",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "svgviewer.open",
"group": "extension",
"when": "resourceLangId == xml"
},
{
"command": "svgviewer.saveas",
"group": "extension",
"when": "resourceLangId == xml"
},
{
"command": "svgviewer.copydui",
"group": "extension",
"when": "resourceLangId == xml"
},
{
"command": "svgviewer.openexport",
"group": "extension",
"when": "resourceLangId == xml"
}
]
},
"keybindings": [
{
"command": "svgviewer.open",
"key": "alt+shift+s o"
},
{
"command": "svgviewer.saveas",
"key": "alt+shift+s e"
},
{
"command": "svgviewer.saveassize",
"key": "alt+shift+s x"
},
{
"command": "svgviewer.copydui",
"key": "alt+shift+s c"
},
{
"command": "svgviewer.openexport",
"key": "alt+shift+s v"
}
],
"configuration": {
"type": "object",
"title": "VSCode SVG Viewer configuration",
"properties": {
"svgviewer.transparencygrid": {
"type": "boolean",
"default": true,
"description": "Show Transparency Grid"
},
"svgviewer.transparencycolor": {
"type": "string",
"default": null,
"description": "Color setting for transparency"
},
"svgviewer.enableautopreview": {
"type": "boolean",
"default": false,
"description": "Open or not open the preview screen automatically"
},
"svgviewer.previewcolumn": {
"type": "string",
"enum": [
"Active",
"Beside"
],
"default": "Beside",
"description": "How to open the screen (vscode.ViewColumn)"
},
"svgviewer.showzoominout": {
"type": "boolean",
"default": false,
"description": "Show zoom in/out button in preview windows"
},
"svgviewer.autoInsertNamespace": {
"type": "boolean",
"default": true,
"description": "If SVG namespace doesn't exist in a file, it will be added automatically"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/mocha": "^5.2.0",
"@types/node": "^10.12.24",
"typescript": "^3.3.3",
"vscode": "^1.1.29"
},
"dependencies": {
"copy-paste": "^1.3.0",
"jquery": "^3.3.1",
"path": "^0.12.7",
"phantomjs-prebuilt": "^2.1.16",
"pn": "^1.1.0",
"svgexport": "^0.3.2",
"tmp": "^0.0.33"
},
"repository": {
"type": "git",
"url": "https://github.com/cssho/vscode-svgviewer.git"
},
"license": "MIT",
"icon": "icon.png",
"galleryBanner": {
"color": "#93E4D5",
"theme": "light"
},
"bugs": {
"url": "https://github.com/cssho/vscode-svgviewer/issues"
},
"homepage": "https://github.com/cssho/vscode-svgviewer/blob/master/README.md",
"keywords": [
"svg",
"viewer",
"image"
]
}