-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 4.25 KB
/
Copy pathpackage.json
File metadata and controls
150 lines (150 loc) · 4.25 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
{
"name": "codepulse-complexity",
"displayName": "CodePulseComplexity",
"description": "Local code complexity tracking and analytics.",
"version": "3.0.1",
"icon": "icon.png",
"author": "João Costa <joao.coutinho08@gmail.com>",
"publisher": "extbleckwolf25",
"license": "MIT",
"type": "module",
"packageManager": "pnpm@9.15.0",
"repository": {
"type": "git",
"url": "git+https://github.com/BleckWolf25/CodePulse.git"
},
"bugs": {
"url": "https://github.com/BleckWolf25/CodePulse/issues"
},
"engines": {
"vscode": "^1.125.0",
"node": "24.x",
"pnpm": ">=9.0.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.cjs",
"contributes": {
"commands": [
{
"command": "codepulse.openDashboard",
"title": "CodePulse: Open Dashboard"
},
{
"command": "codepulse.exportJson",
"title": "CodePulse: Export Metrics as JSON"
},
{
"command": "codepulse.exportCsv",
"title": "CodePulse: Export Metrics as CSV"
},
{
"command": "codepulse.purgeLogs",
"title": "CodePulse: Purge Old Logs"
}
],
"configuration": {
"title": "CodePulse",
"properties": {
"codepulse.exclude": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/node_modules/**",
"**/dist/**",
"**/build/**",
"**/out/**",
"**/.next/**",
"**/coverage/**",
"**/*.d.ts",
"**/*.min.js",
"**/.git/**",
"**/__pycache__/**",
"**/.venv/**"
],
"description": "Glob patterns for files/folders to exclude from analysis."
},
"codepulse.trigger": {
"type": "string",
"enum": [
"onSave",
"onType",
"manual"
],
"default": "onSave",
"description": "When to trigger code complexity analysis.",
"enumDescriptions": [
"Analyze on file save.",
"Analyze while typing (with debounce).",
"Only analyze when manually triggered."
]
},
"codepulse.debounceDelay": {
"type": "number",
"default": 2000,
"minimum": 500,
"maximum": 10000,
"description": "Debounce delay in milliseconds when trigger is set to 'onType'."
},
"codepulse.retentionDays": {
"type": "number",
"default": 30,
"minimum": 1,
"description": "Retention period in days for historical metrics. Logs older than this can be purged."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run compile && pnpm install --shamefully-hoist && node scripts/copy-deps.mjs",
"compile": "node esbuild.config.mjs --production && pnpm exec vite build --config ./src/webview/vite.config.ts",
"watch": "node esbuild.config.mjs && pnpm exec vite build --config ./src/webview/vite.config.ts --watch",
"package": "pnpm exec vsce package --no-dependencies",
"pretest": "pnpm run compile && pnpm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@sveltejs/vite-plugin-svelte": "^7.2.0",
"@types/mocha": "^10.0.10",
"@types/node": "24.x",
"@types/vscode": "^1.125.0",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0",
"chart.js": "^4.5.1",
"esbuild": "^0.28.0",
"eslint": "^10.7.0",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.9.5",
"svelte": "^5.56.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.64.0",
"vite": "^8.1.3"
},
"pnpm": {
"overrides": {
"diff": "^8.0.4",
"serialize-javascript": "^7.0.6"
}
},
"dependencies": {
"jspdf": "^4.2.1",
"sql.js": "^1.14.1",
"tree-sitter-c": "^0.24.1",
"tree-sitter-cpp": "^0.23.4",
"tree-sitter-go": "^0.25.0",
"tree-sitter-java": "^0.23.5",
"tree-sitter-javascript": "^0.25.0",
"tree-sitter-python": "^0.25.0",
"tree-sitter-rust": "^0.24.0",
"tree-sitter-typescript": "^0.23.2",
"web-tree-sitter": "^0.26.11"
}
}