-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
186 lines (186 loc) · 6.48 KB
/
package.json
File metadata and controls
186 lines (186 loc) · 6.48 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
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "simple-coding-time-tracker",
"displayName": "Simple Coding Time Tracker",
"description": "Automatic time tracking for VS Code — Track coding time per project, branch & language with smart activity detection, health reminders, and beautiful visualizations",
"version": "0.7.6",
"publisher": "noorashuvo",
"license": "MIT",
"icon": "icon-sctt.png",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other",
"Productivity"
],
"keywords": [
"time tracker",
"time tracking",
"coding time",
"productivity",
"analytics",
"statistics",
"git branch tracking",
"developer tools",
"work hours",
"time management",
"activity tracker",
"programming statistics"
],
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Simple Coding Time Tracker",
"properties": {
"simpleCodingTimeTracker.inactivityTimeout": {
"type": "number",
"default": 2.5,
"minimum": 0.5,
"maximum": 60,
"description": "Pause tracking if there is no keyboard or mouse activity in VS Code for this many minutes."
},
"simpleCodingTimeTracker.focusTimeout": {
"type": "number",
"default": 3,
"minimum": 0.5,
"maximum": 60,
"description": "If you switch away from VS Code, continue counting as coding time for up to this many minutes before pausing."
},
"simpleCodingTimeTracker.statusBar.showSeconds": {
"type": "boolean",
"default": true,
"description": "Show seconds in the status bar time display (disable to reduce distractions)"
},
"simpleCodingTimeTracker.statusBar.icon": {
"type": "string",
"default": "$(code)",
"description": "Icon or Codicon name to display before the timer (e.g., '$(code)', '$(clock)', '$(rocket)', or any emoji)"
},
"simpleCodingTimeTracker.statusBar.backgroundStyle": {
"type": "string",
"enum": ["default", "warning", "error"],
"default": "warning",
"description": "Background style for the timer in the status bar: default (theme), warning (yellow), or error (red)."
},
"simpleCodingTimeTracker.statusBar.color": {
"type": "string",
"default": "",
"description": "Custom color for the timer text in hex format (e.g., '#FFAA00') or a VS Code theme color reference"
},
"simpleCodingTimeTracker.health.enableNotifications": {
"type": "boolean",
"default": false,
"description": "Enable health notifications during coding sessions"
},
"simpleCodingTimeTracker.health.modalNotifications": {
"type": "boolean",
"default": true,
"description": "Make health notifications modal (blocks UI until dismissed) for better visibility"
},
"simpleCodingTimeTracker.health.eyeRestInterval": {
"type": "number",
"default": 20,
"minimum": 5,
"maximum": 120,
"description": "Interval for eye rest reminders (minutes) - Based on 20-20-20 rule"
},
"simpleCodingTimeTracker.health.stretchInterval": {
"type": "number",
"default": 30,
"minimum": 10,
"maximum": 180,
"description": "Interval for stretch reminders (minutes) - Recommended for posture health"
},
"simpleCodingTimeTracker.health.breakThreshold": {
"type": "number",
"default": 90,
"minimum": 30,
"maximum": 480,
"description": "Coding duration before suggesting a break (minutes) - Based on ultradian rhythms"
},
"simpleCodingTimeTracker.enableDevCommands": {
"type": "boolean",
"default": false,
"description": "Enable development commands (Generate/Delete Test Data). Only enable this for testing purposes.",
"scope": "application"
}
}
},
"commands": [
{
"command": "simpleCodingTimeTracker.showSummary",
"title": "SCTT: Show Coding Time Summary"
},
{
"command": "simpleCodingTimeTracker.viewStorageData",
"title": "SCTT: View Time Tracking Data"
},
{
"command": "simpleCodingTimeTracker.clearAllData",
"title": "SCTT: Clear All Time Tracking Data"
},
{
"command": "simpleCodingTimeTracker.toggleNotifications",
"title": "SCTT: Toggle Notifications"
},
{
"command": "simpleCodingTimeTracker.toggleHealthNotifications",
"title": "SCTT: Toggle Health Notifications"
},
{
"command": "simpleCodingTimeTracker.openSettings",
"title": "SCTT: Open Settings"
},
{
"command": "simpleCodingTimeTracker.generateTestData",
"title": "SCTT: Generate Test Data (Dev)",
"when": "config.simpleCodingTimeTracker.enableDevCommands"
},
{
"command": "simpleCodingTimeTracker.deleteTestData",
"title": "SCTT: Delete Test Data (Dev)",
"when": "config.simpleCodingTimeTracker.enableDevCommands"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"refresh-extension": "code --uninstall-extension noorashuvo.simple-coding-time-tracker && vsce package && code --install-extension $(npm pack --quiet)"
},
"devDependencies": {
"@types/node": "^14.14.37",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.25.0",
"ts-loader": "^9.5.2",
"typescript": "^4.2.4",
"webpack": "^5.99.8",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"simple-git": "^3.27.0"
},
"repository": {
"type": "git",
"url": "https://github.com/twentyTwo/vsc-ext-coding-time-tracker.git"
},
"homepage": "https://github.com/twentyTwo/vsc-ext-coding-time-tracker#readme",
"bugs": {
"url": "https://github.com/twentyTwo/vsc-ext-coding-time-tracker/issues"
},
"qna": "https://github.com/twentyTwo/vsc-ext-coding-time-tracker/discussions"
}