-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.22 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
{
"name": "svg-viewer",
"displayName": "SVG-Viewer",
"description": "JS SVG viewer for VSCode",
"author": {
"name": "Dheovani Xavier da Cruz",
"email": "[email protected]"
},
"publisher": "Dheovani",
"repository": "https://github.com/Dheovani/SVG-Viewer",
"icon": "icon/icon.png",
"version": "1.1.2",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Other"
],
"activationEvents": ["*"],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.openExtensionPage",
"title": "Open Extension's Page in the Marketplace"
},
{
"command": "extension.openPreviewOnFocus",
"title": "Open Preview"
},
{
"command": "extension.openPreviewMenu",
"title": "Open preview"
},
{
"command": "extension.openPreviewOnEditorShortcut",
"title": "Open preview",
"icon": {
"light": "icon/icon_light.svg",
"dark": "icon/icon.svg"
}
}
],
"keybindings": [
{
"key": "ctrl+shift+t",
"command": "extension.openPreviewOnFocus",
"when": "editorTextFocus",
"mac": "cmd+shift+t"
}
],
"menus": {
"editor/title": [
{
"when": "resourceFilename =~ /.*\\.svg$/",
"command": "extension.openPreviewOnEditorShortcut",
"group": "navigation"
}
],
"explorer/context": [
{
"when": "resourceFilename =~ /.*\\.svg$/",
"command": "extension.openPreviewMenu",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.82.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"typescript": "^5.1.6",
"@vscode/test-electron": "^2.3.4"
}
}