-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.84 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
{
"name": "add-color-code",
"displayName": "Add Latex Color Code",
"description": "Select text and then right click mouse to add or remove color code in 'latex' file!",
"version": "0.0.3",
"publisher": "JoffPan",
"engines": {
"vscode": "^1.73.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:add-color-code.GiveMeRedCMD",
"onCommand:add-color-code.GiveMeBlueCMD",
"onCommand:add-color-code.DeleteColorCMD"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "add-color-code.GiveMeBlueCMD",
"title": "Give Me Blue!",
"enablement": "!virtualWorkspace"
},
{
"command": "add-color-code.GiveMeRedCMD",
"title": "Give Me Red!",
"enablement": "!virtualWorkspace"
},
{
"command": "add-color-code.DeleteColorCMD",
"title": "Delete Colors~",
"enablement": "!virtualWorkspace"
}
],
"menus": {
"editor/context": [
{
"when": "editorLangId == 'latex' && !virtualWorkspace",
"command": "add-color-code.GiveMeBlueCMD",
"group": "[email protected]"
},
{
"when": "editorLangId == 'latex' && !virtualWorkspace",
"command": "add-color-code.GiveMeRedCMD",
"group": "[email protected]"
},
{
"when": "editorLangId == 'latex' && !virtualWorkspace",
"command": "add-color-code.DeleteColorCMD",
"group": "[email protected]"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"dependencies": {
"@types/vscode": "^1.73.0",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "16.x",
"eslint": "^8.26.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.8.4",
"@vscode/test-electron": "^2.2.0"
}
}