-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 6.26 KB
/
package.json
File metadata and controls
156 lines (156 loc) · 6.26 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
{
"name": "flaunt-github",
"displayName": "Flaunt GitHub",
"description": "Passively tracks coding activity and commits a rolling journal to a private GitHub repo. Dashboard, shareable profile badge, optional AI daily summaries.",
"version": "3.0.4",
"publisher": "UtkarshSingh",
"icon": "images/logo.png",
"license": "MIT",
"keywords": [
"coding activity",
"productivity",
"metrics",
"github",
"contributions",
"journal",
"streak",
"wakatime"
],
"repository": {
"type": "git",
"url": "https://github.com/vib795/flaunt-github.git"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other",
"SCM Providers"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{ "command": "codeTracking.start", "title": "Flaunt GitHub: Commit Now", "category": "Flaunt GitHub" },
{ "command": "codeTracking.showMetrics", "title": "Flaunt GitHub: Show Metrics (log)", "category": "Flaunt GitHub" },
{ "command": "codeTracking.showDashboard", "title": "Flaunt GitHub: Open Dashboard", "category": "Flaunt GitHub" },
{ "command": "codeTracking.pause", "title": "Flaunt GitHub: Pause Tracking", "category": "Flaunt GitHub" },
{ "command": "codeTracking.resume", "title": "Flaunt GitHub: Resume Tracking", "category": "Flaunt GitHub" },
{ "command": "codeTracking.refreshAuth", "title": "Flaunt GitHub: Refresh GitHub Auth", "category": "Flaunt GitHub" },
{ "command": "codeTracking.resetConsent", "title": "Flaunt GitHub: Reset Consent Prompt", "category": "Flaunt GitHub" },
{ "command": "codeTracking.openTrackingRepo", "title": "Flaunt GitHub: Open Tracking Repo", "category": "Flaunt GitHub" },
{ "command": "codeTracking.generateBadge", "title": "Flaunt GitHub: Generate Profile Badge", "category": "Flaunt GitHub" },
{ "command": "codeTracking.exportMetrics", "title": "Flaunt GitHub: Export Metrics", "category": "Flaunt GitHub" },
{ "command": "codeTracking.showLog", "title": "Flaunt GitHub: Show Log", "category": "Flaunt GitHub" },
{ "command": "codeTracking.showMenu", "title": "Flaunt GitHub: Show Menu", "category": "Flaunt GitHub" }
],
"configuration": {
"type": "object",
"title": "Flaunt GitHub",
"properties": {
"codeTracking.githubToken": {
"type": "string",
"description": "Fallback GitHub Personal Access Token with repo scope. Prefer VS Code's built-in GitHub sign-in; this setting is used only if both Secret Storage and the VS Code auth provider fail.",
"default": ""
},
"codeTracking.githubUsername": {
"type": "string",
"description": "Fallback GitHub username, paired with codeTracking.githubToken.",
"default": ""
},
"codeTracking.commitInterval": {
"type": "number",
"description": "Minutes between automatic commits.",
"default": 30,
"minimum": 1
},
"codeTracking.commitMessagePrefix": {
"type": "string",
"description": "Prefix prepended to each automatic commit message.",
"default": "[Flaunt]"
},
"codeTracking.timeZone": {
"type": "string",
"description": "IANA timezone used for timestamps. Defaults to your system timezone.",
"default": ""
},
"codeTracking.trackFileOpens": {
"type": "boolean",
"description": "Log an entry every time a file is opened (noisy).",
"default": false
},
"codeTracking.ignoreGlobs": {
"type": "array",
"items": { "type": "string" },
"description": "Glob patterns of file paths that should never be logged (checked relative to the workspace root).",
"default": [
"**/.env",
"**/.env.*",
"**/secrets/**",
"**/*.pem",
"**/*.key",
"**/id_rsa*",
"**/credentials*",
"**/.aws/**",
"**/.ssh/**"
]
},
"codeTracking.paused": {
"type": "boolean",
"description": "When true, Flaunt GitHub records activity but does not commit or push. Toggle from the status bar menu.",
"default": false
},
"codeTracking.redactPaths": {
"type": "boolean",
"description": "When true, file paths in commits are replaced with <redacted:depth>.ext placeholders. Language and counts still tracked.",
"default": false
},
"codeTracking.aiSummary.enabled": {
"type": "boolean",
"description": "Enable a daily AI-written journal entry summarizing your activity. Requires an Anthropic API key.",
"default": false
},
"codeTracking.aiSummary.anthropicApiKey": {
"type": "string",
"description": "Anthropic API key used for AI daily summaries. Stored in user settings; use Secret Storage via the extension if you prefer.",
"default": ""
},
"codeTracking.aiSummary.model": {
"type": "string",
"description": "Anthropic model for daily summaries.",
"default": "claude-haiku-4-5"
}
}
}
},
"scripts": {
"build": "esbuild src/extension.ts --bundle --platform=node --target=node14 --outfile=dist/extension.js --external:vscode",
"watch": "esbuild src/extension.ts --bundle --platform=node --target=node14 --outfile=dist/extension.js --external:vscode --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts",
"test:compile": "tsc -p tsconfig.test.json",
"test": "npm run test:compile && mocha --ui tdd \"out-test/test/**/*.test.js\"",
"vscode:prepublish": "npm run build",
"package": "vsce package"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.9.1",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^8.60.0",
"@typescript-eslint/parser": "^8.22.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.9.2",
"esbuild": "^0.28.0",
"eslint": "^10.4.0",
"mocha": "^11.7.6",
"typescript": "^5.9.3"
},
"dependencies": {
"@octokit/rest": "^22.0.1",
"simple-git": "^3.36.0"
}
}