-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 2.51 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
{
"name": "vjudge-helper",
"displayName": "VJudge Helper",
"description": "Help fetch statement and submit your code!",
"version": "0.2.8",
"keywords": [
"VJudge",
"OJ",
"OI",
"Online Judge"
],
"license": "MIT",
"preview": true,
"publisher": "starcatmeow",
"repository": {
"type": "git",
"url": "https://github.com/starcatmeow/vjudge-helper.git"
},
"homepage": "https://github.com/starcatmeow/vjudge-helper/blob/main/README.md",
"bugs": {
"url": "https://github.com/starcatmeow/vjudge-helper/issues",
"email": "[email protected]"
},
"icon": "media/vjudge.jpg",
"engines": {
"vscode": "^1.55.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:vjudge-helper.login",
"onView:vjudge-helper.info"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vjudge-helper.login",
"title": "VJudge: Login"
},
{
"command": "vjudge-helper.refreshContests",
"title": "VJudge: Refresh Contests",
"icon": "$(refresh)"
},
{
"command": "vjudge-helper.submitCode",
"title": "VJudge: Submit Code",
"icon": "$(cloud-upload)"
}
],
"views": {
"vjudge": [
{
"id": "vjudgeinfo",
"name": "VJudge"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "vjudge",
"title": "VJudge",
"icon": "resources/vjudge.svg"
}
]
},
"viewsWelcome": [
{
"view": "vjudgeinfo",
"contents": "Login to see your contests.\n[Login Now](command:vjudge-helper.login)"
}
],
"menus": {
"view/title": [
{
"command": "vjudge-helper.refreshContests",
"when": "view == vjudgeinfo",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "vjudge-helper.submitCode",
"when": "view == vjudgeinfo && viewItem == problem",
"group": "inline"
}
]
}
},
"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",
"deploy": "vsce publish",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.55.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@vscode/vsce": "^2.26.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
},
"dependencies": {
"@starcatmeow/vjudge-api": "^0.5.4"
}
}