forked from Njanderson/resmon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 5.22 KB
/
package.json
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
{
"name": "resourcemonitor",
"displayName": "Resource Monitor",
"description": "Displays current CPU stats, memory/disk consumption, and battery percentage remaining.",
"version": "1.0.7",
"publisher": "mutantdino",
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Other"
],
"icon": "images/icon.png",
"galleryBanner": {
"color": "#008080",
"theme": "dark"
},
"activationEvents": [
"*"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Resource Monitor",
"properties": {
"resmon.show.cpuusage": {
"type": "boolean",
"default": true,
"description": "Toggles the display of CPU Usage."
},
"resmon.show.cpufreq": {
"type": "boolean",
"default": true,
"description": "Toggles the display of CPU frequency. For Windows, this displays the maximum clock speed."
},
"resmon.show.mem": {
"type": "boolean",
"default": true,
"description": "Toggles the display of memory consumption."
},
"resmon.show.battery": {
"type": "boolean",
"default": true,
"description": "Toggles the display of battery percentage remaining if a device with a battery. If the device reports not having a battery, this setting will always be treated as false."
},
"resmon.show.disk": {
"type": "boolean",
"default": false,
"description": "Toggles the display of disk space information."
},
"resmon.show.cputemp": {
"type": "boolean",
"default": false,
"description": "Toggles the display of CPU temperature. May not work without the lm-sensors module on Linux. May require running VS Code as admin on Windows"
},
"resmon.disk.format": {
"type": "string",
"enum": [
"PercentRemaining",
"PercentUsed",
"Remaining",
"UsedOutOfTotal"
],
"description": "Configures how the disk space is displayed (percentage remaining/used, absolute remaining, used out of totel)."
},
"resmon.disk.drives": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"default": [],
"description": "Drives to show. For example, 'C:' on Windows, and '/dev/sda1' on Linux."
},
"resmon.updatefrequencyms": {
"type": "number",
"default": 2000,
"minimum": 200,
"description": "How long in ms between updates to resources."
},
"resmon.freq.unit": {
"type": "string",
"enum": [
"GHz",
"MHz",
"KHz",
"Hz"
],
"default": "GHz"
},
"resmon.mem.unit": {
"type": "string",
"enum": [
"GB",
"MB",
"KB",
"B"
],
"default": "GB"
},
"resmon.show.precision": {
"type": "number",
"default": 2,
"minimum": 0,
"maximum": 2,
"description": "How long in ms between updates to resources."
},
"resmon.alignLeft": {
"type": "boolean",
"default": true,
"description": "Toggles the alignment of the status bar."
},
"resmon.color": {
"type": "string",
"default": "#FFFFFF",
"description": "Color of the status bar text in hex code (for example, #FFFFFF is white). The color must be in the format #RRGGBB, using hex digits."
}
}
}
},
"repository": {
"url": "https://github.com/Njanderson/resmon.git"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"watch": "tsc -watch -p ./"
},
"dependencies": {
"systeminformation": "^4.27.11"
},
"devDependencies": {
"systeminformation": "^4.27.11",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"tslint": "^5.8.0",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
}
}