-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
142 lines (142 loc) · 3.28 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
{
"name": "lab50",
"displayName": "CS50 Lab",
"description": "CS50 Lab for Visual Studio Code",
"icon": "images/lab50.png",
"version": "1.1.1",
"publisher": "CS50",
"repository": "https://github.com/cs50/lab50.vsix",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Education"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "lab50.openAsLab",
"title": "Open in CS50 Lab",
"icon": "$(book)",
"enablement": "lab50:didActivateExtension"
},
{
"command": "lab50.resetLayout",
"title": "Reset Layout",
"icon": "$(layout-panel-right)"
},
{
"command": "lab50.closeLab",
"title": "Close Lab",
"icon": "$(panel-close)"
}
],
"customEditors": [
{
"viewType": "lab50.editor",
"displayName": "CS50 Lab",
"selector": [
{
"filenamePattern": "README.md"
}
],
"priority": "option"
}
],
"menus": {
"commandPalette": [
{
"command": "lab50.openAsLab",
"when": "false"
},
{
"command": "lab50.resetLayout",
"when": "false"
},
{
"command": "lab50.closeLab",
"when": "false"
}
],
"explorer/context": [
{
"command": "lab50.openAsLab",
"when": "explorerResourceIsFolder || resourceExtname == '.md' ",
"group": "2_workspace@0"
}
],
"view/title": [
{
"command": "lab50.resetLayout",
"group": "navigation@2",
"when": "view == lab50"
},
{
"command": "lab50.closeLab",
"group": "navigation@3",
"when": "view == lab50"
}
]
},
"views": {
"lab50": [
{
"id": "lab50",
"name": "CS50 Lab",
"type": "webview",
"when": "lab50:showReadme"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "lab50",
"title": "CS50 Lab",
"icon": "$(book)"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint . --ext .ts,.tsx",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/markdown-it": "^13.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "20.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vscode/test-electron": "^2.3.4",
"@vscode/vsce": "^2.21.0",
"eslint": "^8.50.0",
"glob": "^10.3.7",
"mocha": "^10.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@types/js-yaml": "^4.0.6",
"axios": "^1.5.0",
"highlight.js": "^11.8.0",
"html-entities": "^2.4.0",
"js-yaml": "^4.1.0",
"liquidjs": "^10.9.2",
"luxon": "^3.4.3",
"markdown-it": "^13.0.1",
"markdown-it-attrs": "^4.1.6",
"markdown-it-highlightjs": "^4.0.1",
"node-html-parser": "^6.1.10",
"pretty": "^2.0.0"
}
}