-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
269 lines (269 loc) · 6.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
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
{
"name": "code-with-todoist",
"displayName": "code with Todoist",
"description": "Todoist plugin for vs code",
"version": "2.0.0",
"publisher": "Spoorthi",
"icon": "media/extension_icon.png",
"license": "SEE LICENSE IN LICENSE",
"repository": "https://github.com/spoo-bar/code-with-todoist",
"engines": {
"vscode": "^1.62.0"
},
"categories": [
"Other"
],
"keywords": [
"todoist",
"productivity"
],
"preview": false,
"activationEvents": [
"onView:projects",
"onView:workspaceProject"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "todoist.setApiToken",
"title": "Todoist: Set API Token",
"icon": {
"light": "media/light_add.svg",
"dark": "media/dark_add.svg"
}
},
{
"command": "todoist.sync",
"title": "Todoist : Sync Todoist",
"icon": {
"light": "media/light_refresh.svg",
"dark": "media/dark_refresh.svg"
}
},
{
"command": "todoist.closeTask",
"title": "Todoist : Mark task as done",
"icon": {
"light": "media/light_check.svg",
"dark": "media/dark_check.svg"
}
},
{
"command": "todoist.attachproject",
"title": "Todoist : Attach Project",
"icon": {
"light": "media/light_attach.svg",
"dark": "media/dark_attach.svg"
}
},
{
"command": "todoist.createTask",
"title": "Todoist : Create Task",
"icon": {
"light": "media/light_add.svg",
"dark": "media/dark_add.svg"
}
}
],
"configuration": [
{
"title": "Code With Todoist",
"properties": {
"syncInternval": {
"type": "number",
"default": 600000,
"description": "Value in milliseconds at which interval Todoist data is synced.",
"scope": "application",
"order": 1
},
"taskDisplay.sortBy": {
"type": "string",
"enum": [
"Order",
"Priority",
"Alphabetical"
],
"default": "Order",
"enumDescriptions": [
"Orders tasks by their Todoist task order",
"Sort tasks by priority. Highest -> Lowest",
"Sorts by alphabetical order of tasks"
],
"description": "Condition to sort the displayed tasks by.",
"scope": "application",
"order": 2
},
"taskDisplay.showTaskNotifications": {
"type": "boolean",
"default": true,
"description": "Show notification within vscode for tasks which has time set",
"scope": "application",
"order": 3
},
"todayView.showTodaysTasks": {
"type": "boolean",
"default": true,
"description": "Show today's tasks at the top of the extension sidebar",
"scope": "application",
"order": 4
},
"todayView.showOverdueTasks": {
"type": "boolean",
"default": true,
"markdownDescription": "Show overdue tasks in the today view. Requires `#todayView.showTodaysTasks` to be set to `true`",
"scope": "application",
"order": 5
},
"todayView.overdueDaysToDisplay": {
"type": "number",
"default": 1,
"markdownDescription": "Show overdue tasks for the given number of days. Example: If the value is set to 1, it shows overdue tasks from yesterday. If the value is set to 2, it shows overdue tasks from yesterday and day before. Requires `#todayView.showOverdueTasks` to be set to `true`",
"scope": "application",
"order": 6,
"minimum": 1,
"maximum": 7
},
"todayView.overdueDisplayPrefix": {
"type": "string",
"enum": [
"⏰",
"❗",
"📅",
"🔥",
"⏳"
],
"default": "❗",
"enumDescriptions": [
"Alarm Clock",
"Exclamation Mark",
"Calender",
"Fire",
"Hourglass"
],
"description": "Overdue tasks will be prefixed with this emoji in the Today view. The number of emojis in the prefix corresponds to the number of days the task is overdue.",
"scope": "application",
"order": 8
},
"identifyTodos.display": {
"type": "boolean",
"default": true,
"description": "Show TODO comments from the workspace",
"scope": "application",
"deprecationMessage": "Not yet implemented. Feature in development."
},
"identifyTodos.regex": {
"type": "string",
"default": "(/.?((todo)|(fixme)).*)",
"description": "Identify the TODO comments in the project using the RegEx",
"scope": "application",
"deprecationMessage": "Not yet implemented. Feature in development."
}
}
}
],
"menus": {
"view/title": [
{
"command": "todoist.closeTask",
"when": "view == task",
"group": "navigation"
},
{
"command": "todoist.createTask",
"when": "view == workspaceProject || view == workspaceProjectExt",
"group": "navigation"
},
{
"command": "todoist.sync",
"when": "view != task",
"group": "navigation"
},
{
"command": "todoist.attachproject",
"when": "view == workspaceProject || view == workspaceProjectExt",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "todoist.closeTask",
"when": "viewItem == todoistTask",
"group": "inline"
}
]
},
"views": {
"code-with-todoist": [
{
"id": "today",
"name": "Today",
"when": "showTodaysTasks"
},
{
"id": "workspaceProjectExt",
"name": "Workspace Project"
},
{
"id": "projects",
"name": "Projects"
},
{
"id": "task",
"name": "Task",
"when": "taskSelected"
}
],
"explorer": [
{
"id": "workspaceProject",
"name": "Workspace Project"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "code-with-todoist",
"title": "Code with Todoist",
"icon": "media/icon.svg"
}
]
},
"viewsWelcome": [
{
"view": "projects",
"contents": "No projects were loaded.\n___\n1. Check if Todoist API token is set up in File > Preferences > Settings > Code With Todoist.\n\n2. Check if your internet connection is working.\n\n3. Check if your Todoist account has any projects. \n___\nClick refresh in the above toolbar to attempt resync."
},
{
"view": "task",
"contents": "No task was selected."
},
{
"view": "today",
"contents": "No tasks for today. 🎉"
},
{
"view": "workspaceProject",
"contents": "This workspace is not associated with any Todoist Project. \n [Attach Project](command:todoist.attachproject)"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "14.18.36",
"@types/vscode": "1.62.0",
"@typescript-eslint/eslint-plugin": "5.53.0",
"@typescript-eslint/parser": "5.53.0",
"eslint": "8.34.0",
"typescript": "4.9.5"
},
"dependencies": {
"@doist/todoist-api-typescript": "2.1.2"
}
}