-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
81 lines (81 loc) · 1.9 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
{
"name": "oi-runner",
"displayName": "OI Runner",
"description": "运行竞赛单文件代码 专为OIer和ACMer设计",
"repository": "https://github.com/CmdBlockZQG/oi-runner",
"version": "0.1.2",
"icon": "assets/logo.png",
"publisher": "CmdBlock",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./src/extension.js",
"contributes": {
"configuration":[
{
"title": "OI Runner",
"properties": {
"oi-runner.commands": {
"type": "object",
"default": {
"C++11 -O2": [
["g++", ["[file]", "-o[file-]", "-std=c++11", "-O2", "-Wall"]],
["[file-][ext]", []]
],
"python": [
["", []],
["python", ["[file]"]]
]
},
"description": "Commands to run when compile or run."
},
"oi-runner.exts": {
"type": "object",
"default": {
"cpp": "C++11 -O2",
"py": "python"
},
"description": "Default command to use depend on filename extension."
}
}
}
],
"viewsContainers": {
"panel": [
{
"id": "oi-runner",
"title": "OI Runner",
"icon": "assets/run.svg"
}
]
},
"views": {
"oi-runner": [
{
"type": "webview",
"id": "oi-runner.panel",
"name": "OI Runner"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint"
},
"devDependencies": {
"@types/vscode": "^1.74.0",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.9.3",
"@vscode/test-electron": "^2.2.0"
}
}