-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (93 loc) · 2.19 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
{
"name": "goclassshow",
"displayName": "go类图展示",
"description": "",
"publisher": "peng456",
"author": "peng456",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/peng456/go-calss-uml-vs.git"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"files": [
"dist",
"media",
"out",
"package.json",
"README.md"
],
"contributes": {
"languages": [
{
"id": "go",
"extensions": [".go"],
"aliases": ["Go"]
}
],
"commands": [
{
"command": "goclassshow.showgoclassdiagram",
"when": "editorTextFocus && editorLangId == 'go'",
"title": "展示go类图"
}
],
"menus": {
"editor/context": [
{
"command": "goclassshow.showgoclassdiagram",
"when": "editorTextFocus && editorLangId == 'go'",
"group": "navigation"
}
],
"explorer/context":[
{
"command": "goclassshow.showgoclassdiagram",
"when": "editorTextFocus && editorLangId == 'go'",
"group": "navigation"
}
],
"editor/title":[
{
"command": "goclassshow.showgoclassdiagram",
"when": "editorTextFocus && editorLangId == 'go'",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "goclassshow.showgoclassdiagram",
"key": "shift+a+s",
"mac": "shift+a+s",
"when": "editorTextFocus && editorLangId == 'go'"
}
]
},
"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": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "20.x",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"eslint": "^8.57.0",
"typescript": "^5.7.2"
}
}