Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
173 lines (173 loc) · 4.69 KB
/
Copy pathpackage.json
File metadata and controls
173 lines (173 loc) · 4.69 KB
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
{
"name": "devfocus",
"displayName": "DevFocus",
"description": "Focus timer and day plan for engineers working with AI — sessions, real breaks, and a defensible end to the day",
"version": "1.5.0",
"publisher": "akshayashokcode",
"icon": "media/icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AkshayAshokCode/vscode-devfocus"
},
"keywords": [
"pomodoro",
"timer",
"productivity",
"focus",
"ai"
],
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
},
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "devfocus-sidebar",
"title": "DevFocus",
"icon": "media/activity-icon.svg"
}
]
},
"views": {
"devfocus-sidebar": [
{
"type": "webview",
"id": "devfocus.panel",
"name": "DevFocus"
}
]
},
"commands": [
{
"command": "devfocus.toggle",
"title": "DevFocus: Start / Pause Timer",
"icon": "$(watch)"
},
{
"command": "devfocus.reset",
"title": "DevFocus: Reset Timer",
"icon": "$(debug-restart)"
},
{
"command": "devfocus.skipBreak",
"title": "DevFocus: Skip Break",
"icon": "$(debug-step-over)"
},
{
"command": "devfocus.openPanel",
"title": "DevFocus: Open Panel",
"icon": "$(clock)"
},
{
"command": "devfocus.captureTask",
"title": "DevFocus: Add to Later (Capture)",
"icon": "$(inbox)"
},
{
"command": "devfocus.completeTask",
"title": "DevFocus: Complete Active Task",
"icon": "$(pass)"
}
],
"keybindings": [
{
"command": "devfocus.toggle",
"key": "alt+shift+d"
},
{
"command": "devfocus.skipBreak",
"key": "alt+shift+b"
},
{
"command": "devfocus.captureTask",
"key": "alt+shift+a"
}
],
"configuration": {
"title": "DevFocus",
"properties": {
"devfocus.soundEnabled": {
"type": "boolean",
"default": true,
"description": "Play sounds when sessions and breaks end"
},
"devfocus.autoStartNextSession": {
"type": "boolean",
"default": true,
"description": "Automatically start the next work session after a break"
},
"devfocus.notificationsEnabled": {
"type": "boolean",
"default": true,
"description": "Show desktop notifications when sessions and breaks end"
},
"devfocus.defaultMode": {
"type": "string",
"enum": [
"CLASSIC",
"DEEP_WORK",
"CUSTOM"
],
"default": "CLASSIC",
"description": "Default Pomodoro mode on first launch"
},
"devfocus.longBreakMinutes": {
"type": "number",
"default": 15,
"minimum": 5,
"maximum": 60,
"description": "Default long break duration (minutes) for Custom mode"
},
"devfocus.dailyGoal": {
"type": "number",
"default": 8,
"minimum": 0,
"maximum": 24,
"description": "Daily session goal shown in the panel and status bar (0 to disable)"
},
"devfocus.maxPlanTasks": {
"type": "number",
"default": 5,
"minimum": 1,
"maximum": 20,
"description": "Maximum number of tasks in Today's plan. A short list keeps the day realistic — raise it if you need more room."
},
"devfocus.windDownTime": {
"type": "string",
"default": "18:00",
"pattern": "^$|^([01]?[0-9]|2[0-3]):[0-5][0-9]$",
"description": "Time of day (24h HH:MM) after which DevFocus nudges you to wrap up. Leave empty to disable."
}
}
}
},
"scripts": {
"vscode:prepublish": "node esbuild.js --production",
"build": "node esbuild.js",
"watch": "node esbuild.js --watch",
"package": "vsce package",
"publish": "vsce publish",
"install:cursor": "vsce package && \"/Applications/Cursor.app/Contents/Resources/app/bin/cursor\" --install-extension \"devfocus-$(node -p \"require('./package.json').version\").vsix\" --force"
},
"devDependencies": {
"@types/node": "^18.19.0",
"@types/vscode": "^1.85.0",
"@vscode/codicons": "^0.0.36",
"@vscode/vsce": "^2.24.0",
"esbuild": "^0.20.0",
"typescript": "^5.3.0"
}
}