-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
184 lines (184 loc) · 5.08 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
{
"name": "advent-of-vscode",
"displayName": "Advent of VSCode",
"description": "",
"version": "0.1.4",
"author": {
"name": "nobkd",
"url": "https://github.com/nobkd"
},
"publisher": "nobkd",
"license": "Unlicense",
"icon": "res/icon.png",
"homepage": "https://github.com/nobkd/advent-of-vscode#readme",
"repository": {
"type": "git",
"url": "https://github.com/nobkd/advent-of-vscode.git"
},
"bugs": {
"url": "https://github.com/nobkd/advent-of-vscode/issues"
},
"engines": {
"vscode": "^1.79.1"
},
"categories": [
"Other"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"activationEvents": [
"onView:aoc",
"onView:dataView"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "aoc",
"title": "Advent of Code",
"icon": "res/icon.svg"
}
]
},
"views": {
"aoc": [
{
"id": "selectDayView",
"type": "tree",
"name": "Select Day",
"contextualTitle": "Select Day to Display Information"
},
{
"id": "descriptionView",
"type": "webview",
"name": "Description",
"contextualTitle": "View Description of Selected Day"
}
]
},
"menus": {
"view/title": [
{
"command": "advent-of-vscode.login",
"when": "view == selectDayView && !advent-of-vscode.loggedIn",
"group": "navigation@0"
},
{
"command": "advent-of-vscode.logout",
"when": "view == selectDayView && advent-of-vscode.loggedIn",
"group": "navigation@0"
},
{
"command": "advent-of-vscode.refreshTree",
"when": "view == selectDayView",
"group": "navigation@1"
},
{
"command": "advent-of-vscode.openDescriptionPanel",
"when": "view == descriptionView",
"group": "navigation@0"
},
{
"command": "advent-of-vscode.refreshDescription",
"when": "view == descriptionView",
"group": "navigation@1"
},
{
"command": "advent-of-vscode.saveInput",
"when": "view == descriptionView && advent-of-vscode.loggedIn && advent-of-vscode.daySelected",
"group": "navigation@2"
},
{
"command": "advent-of-vscode.openInputEditor",
"when": "view == descriptionView && advent-of-vscode.loggedIn && advent-of-vscode.daySelected",
"group": "navigation@3"
},
{
"command": "advent-of-vscode.submitAnswer",
"when": "view == descriptionView && advent-of-vscode.loggedIn && advent-of-vscode.daySelected",
"group": "navigation@4"
}
]
},
"commands": [
{
"command": "advent-of-vscode.login",
"title": "Log in to AoC",
"icon": "$(log-in)"
},
{
"command": "advent-of-vscode.logout",
"title": "Log out of AoC",
"icon": "$(log-out)"
},
{
"command": "advent-of-vscode.saveInput",
"title": "Save AoC Input as File",
"icon": "$(save-as)"
},
{
"command": "advent-of-vscode.openInputEditor",
"title": "Open AoC Input to Editor",
"icon": "$(preferences-open-settings)"
},
{
"command": "advent-of-vscode.select",
"title": "Select AoC Year & Day"
},
{
"command": "advent-of-vscode.loadCookie",
"title": "Load AoC Cookie from Secrets"
},
{
"command": "advent-of-vscode.openDescriptionPanel",
"title": "Open AoC Description View to Panel",
"icon": "$(open-preview)"
},
{
"command": "advent-of-vscode.refreshDescription",
"title": "Refresh AoC Description",
"icon": "$(refresh)"
},
{
"command": "advent-of-vscode.refreshTree",
"title": "Refresh AoC Select Day Tree",
"icon": "$(refresh)"
},
{
"command": "advent-of-vscode.submitAnswer",
"title": "Submit AoC Answer",
"icon": "$(star)"
}
]
},
"scripts": {
"package": "vsce package",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "rimraf out && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"compile": "rimraf out && tsc -p ./",
"watch": "npm run compile -- -watch",
"pretest": "npm run compile && npm run lint",
"test": "echo 'Error: No tests defined'",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/node": "^20.10.0",
"@types/vscode": "^1.84.2",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.22.0",
"esbuild": "^0.19.8",
"eslint": "^8.54.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.2"
},
"dependencies": {
"axios": "^1.6.2",
"node-html-parser": "^6.1.11"
}
}