Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.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
{
"name": "graphicalresourcemonitor",
"displayName": "GraphicalResourceMonitor",
"description": "A simple graphical monitor for tracking CPU/Memory/GPU usage",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/nhansendev/GraphicalResourceMonitor"
},
"engines": {
"vscode": "^1.108.1"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"views": {
"explorer": [
{
"id": "graphicalResourceMonitor",
"name": "Resource Monitor",
"type": "webview"
}
]
},
"configuration": {
"title": "Graphical Resource Monitor",
"properties": {
"sysmon.refreshRate": {
"type": "number",
"default": 1,
"minimum": 0.5,
"description": "Sampling interval (s)"
},
"sysmon.historySeconds": {
"type": "number",
"default": 180,
"minimum": 30,
"maximum": 300,
"description": "Max history length (seconds) for the chart"
},
"sysmon.smoothRate": {
"type": "number",
"default": 1,
"minimum": 0.001,
"maximum": 1,
"description": "Smaller values apply greater smoothing. Set to 1 to disable"
},
"sysmon.showMarkers": {
"type": "boolean",
"default": false,
"description": "Show data point markers on the chart"
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"postcompile": "node scripts/copy-webview.js",
"bundle": "npx esbuild ./out/extension.js --bundle --platform=node --outfile=out/extension.bundle.js --external:vscode && move out\\extension.bundle.js out\\extension.js",
"package": "npm run compile && npm run bundle && npx vsce package",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.108.1",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.27.2",
"eslint": "^9.39.2",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0"
},
"dependencies": {
"systeminformation": "^5.30.7"
}
}