-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
247 lines (247 loc) · 8.55 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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
{
"name": "catalyst",
"displayName": "Catalyst",
"description": "Accelerates Competitive Coding on Codeforces",
"version": "1.7.12",
"engines": {
"vscode": "^1.51.0"
},
"publisher": "RudreshVeerkhare",
"author": {
"name": "Rudresh Veerkhare"
},
"license": "GPLv3",
"homepage": "https://github.com/RudreshVeerkhare/Catalyst",
"icon": "icons/Catalyst_logo_128X128.webp",
"repository": {
"type": "git",
"url": "https://github.com/RudreshVeerkhare/Catalyst"
},
"bugs": {
"url": "https://github.com/RudreshVeerkhare/Catalyst/issues"
},
"keywords": [
"codeforces",
"competitive programming",
"competitive coding"
],
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "catalyst.problemUrl",
"title": "Add Problem/Contest"
},
{
"command": "catalyst.updateLoginDetails",
"title": "Update Login Details"
},
{
"command": "catalyst.runAllTestCases"
},
{
"command": "catalyst.showHideWebview",
"title": "Show/Hide Problem",
"icon": {
"light": "icons/Symbol-dark.svg",
"dark": "icons/Symbol-light.svg"
}
}
],
"menus": {
"editor/title": [
{
"command": "catalyst.showHideWebview",
"group": "navigation"
}
]
},
"keybindings": [
{
"key": "ctrl+alt+p",
"command": "catalyst.problemUrl"
},
{
"key": "ctrl+enter",
"command": "catalyst.runAllTestCases"
},
{
"key": "ctrl+alt+h",
"command": "catalyst.showHideWebview"
}
],
"configuration": {
"title": "Catalyst",
"properties": {
"catalyst.default.layoutRatio": {
"title": "Layout Ratio",
"type": "number",
"default": 50,
"description": "percent of screen occupied by webview",
"minimum": 30,
"maximum": 70
},
"catalyst.default.theme": {
"title": "Theme",
"type": "string",
"description": "Theme of problem panel",
"default": "Dark",
"enum": [
"Dark",
"Light"
]
},
"catalyst.default.problemLang": {
"title": "Lang problem",
"type": "string",
"description": "Language of loaded tasks",
"default": "English",
"enum": [
"English",
"Russian"
]
},
"catalyst.default.showEditorial": {
"title": "Show Editorial Button",
"type": "boolean",
"description": "Whether to show the editorial button or not",
"default": true
},
"catalyst.default.language": {
"title": "Default Language",
"type": "string",
"description": "Language for coding",
"default": "Always Ask",
"enum": [
"Always Ask",
"c++",
"python",
"java"
]
},
"catalyst.default.saveLocation": {
"title": "Default Problem Save Path",
"type": "string",
"description": "Path for folder to store problem data. Default is working director",
"default": ""
},
"catalyst.default.hostname": {
"title": "Default Hostname",
"type": "string",
"description": "hostname for codeforces, add CodeForces mirror hostname here incase of problem with orignal",
"default": "codeforces.com"
},
"catalyst.default.template.c++": {
"title": "C++ template",
"type": "string",
"description": "Template file path for C++",
"default": ""
},
"catalyst.default.template.java": {
"title": "JAVA template",
"type": "string",
"description": "Template file path for JAVA",
"default": ""
},
"catalyst.default.template.python": {
"title": "Python template",
"type": "string",
"description": "Template file path for Python",
"default": ""
},
"catalyst.lang.python.interpreter": {
"description": "Compiler alias name ex. python, python3 or py.",
"type": "string",
"default": "python3"
},
"catalyst.lang.python.args": {
"title": "Args for python file",
"type": "string",
"default": "",
"description": "space seperated args ex. '-Wignore -u'"
},
"catalyst.lang.cpp.compiler": {
"description": "Compiler alias name ex. g++",
"type": "string",
"default": "g++"
},
"catalyst.lang.cpp.args": {
"title": "Args for c++ compiler",
"type": "string",
"default": "",
"description": "space seperated args ex. '-Wmaybe-uninitialized -std=c++14'"
},
"catalyst.lang.java.compiler": {
"description": "Compiler alias name ex. javac",
"type": "string",
"default": "javac"
},
"catalyst.lang.java.interpreter": {
"description": "Compiler alias name ex. java",
"type": "string",
"default": "java"
},
"catalyst.lang.java.compile.args": {
"title": "Args for java compiler",
"type": "string",
"default": "",
"description": "space seperated args ex. '-verbose'"
},
"catalyst.lang.java.runtime.args": {
"title": "Args for java interpreter",
"type": "string",
"default": "",
"description": "space seperated args ex. '-verbose'"
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js",
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"deploy": "vsce publish"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.21",
"@types/vscode": "^1.51.0",
"babel-loader": "^8.2.3",
"css-loader": "^6.6.0",
"eslint": "^8.10.0",
"file-loader": "^6.2.0",
"glob": "^7.2.0",
"mocha": "^9.2.1",
"style-loader": "^3.3.1",
"typescript": "^4.6.2",
"vsce": "^2.6.7",
"vscode-test": "^1.4.0",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-react": "^7.16.7",
"axios": ">=0.26.0",
"axios-cookiejar-support": "^1.0.1",
"cheerio": "^1.0.0-rc.10",
"debug": "^4.3.3",
"html-entities": "^2.3.2",
"keytar": "^7.9.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"tough-cookie": "^4.0.0",
"urijs": "^1.19.9",
"websocket": "^1.0.34"
}
}