-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 3.06 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
{
"name": "ejudge-submitter",
"displayName": "<e>judge Submitter",
"description": "An integrated <e>judge for Visual Studio Code",
"publisher": "gongpha",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/gongpha/ejudge-submitter"
},
"private": true,
"version": "0.1.0",
"license": "MIT",
"engines": {
"vscode": "^1.73.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:login"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "login",
"title": "Login to <e>judge",
"category": "<e>judge"
},
{
"command": "logout",
"title": "Logout from <e>judge",
"category": "<e>judge"
},
{
"command": "openProblem",
"title": "Open a problem by ID",
"category": "<e>judge"
},
{
"command": "manageAccount",
"title": "Manage an account",
"category": "<e>judge"
},
{
"command": "refreshAllCourses",
"title": "Refresh all courses",
"category": "<e>judge",
"icon": "$(refresh)"
},
{
"command": "refreshCourse",
"title": "Refresh the course",
"category": "<e>judge",
"icon": "$(refresh)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "account",
"title": "<e>judge Account",
"icon": "$(file-code)"
}
]
},
"viewsWelcome": [
{
"view": "courseTree",
"contents": "[Connect to <e>judge](command:login)"
}
],
"views": {
"explorer": [
{
"id": "courseTree",
"name": "<e>judge Courses",
"type": "tree",
"visibility": "visible"
}
]
},
"configuration": {
"type": "object",
"title": "<e>judge Submitter",
"properties": {
"ejudge-submitter.uploadHeader": {
"type": "string",
"default": "Uploaded by <e>judge Submitter for problem #{problemID} ({problemTitle})",
"markdownDescription": "A header comment on the uploaded file\n - `{username}` : Account username\n - `{fullname}` : Account fullname\n - `{problemID}` : Problem ID\n - `{problemTitle}` : Problem title"
}
}
},
"menus": {
"view/title": [
{
"command": "refreshAllCourses",
"group": "navigation",
"when": "view == courseTree"
}
],
"view/item/context": [
{
"command": "refreshCourse",
"group": "inline",
"when": "view == courseTree && viewItem == course"
}
]
}
},
"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"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "18.x",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.27.0",
"glob": "^8.0.3"
},
"dependencies": {
"@vscode/webview-ui-toolkit": "^1.1.0",
"axios": "^0.27.2",
"cheerio": "^1.0.0-rc.12",
"sha1": "^1.1.1"
}
}