-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
124 lines (124 loc) · 2.84 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
{
"name": "nssctf",
"displayName": "NSSCTF(Beta)",
"description": "NSSCTF VSCode插件",
"version": "0.0.1",
"icon": "assets/icon/logo.png",
"publisher": "nssctf",
"engines": {
"vscode": "^1.78.0"
},
"keywords": [
"nssctf",
"ctf"
],
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/NSSCTF/nssctf-vscode-extension"
},
"activationEvents": [
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "nssctf_bar",
"title": "NSSCTF",
"icon": "assets/icon/nssctf.png"
}
]
},
"views": {
"nssctf_bar": [
{
"id": "ProblemExplorer",
"name": "题目"
}
]
},
"commands": [
{
"command": "nssctf.pastePicture",
"category": "NSSCTF",
"title": "粘贴图片"
},
{
"command": "nssctf.signIn",
"category": "NSSCTF",
"title": "signIn"
}
],
"keybindings": [
{
"command": "nssctf.pastePicture",
"key": "alt+shift+v",
"mac": "alt+shift+v",
"when": "editorLangId == markdown || editorLangId == mdx || resourceExtname == .ipynb"
}
],
"menus": {
"view/title": [
{
"command": "nssctf.signIn",
"when": "view == ProblemExplorer",
"group": "navigation@0"
}
],
"editor/context": [
{
"command": "nssctf.pastePicture",
"when": "editorLangId == markdown || editorLangId == mdx || resourceExtname == .ipynb",
"group": "NSSCTF@1"
}
]
},
"configuration": [
{
"title": "NSSCTF",
"properties": {
"nssctf.api.key": {
"type": "string",
"default": "",
"scope": "application",
"description": "NSSCTF平台API Key"
},
"nssctf.api.secret": {
"type": "string",
"default": "",
"description": "NSSCTF平台API Secret",
"scope": "application"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.78.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.39.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^5.0.4"
},
"dependencies": {
"axios": "^1.4.0",
"form-data": "^4.0.0"
}
}