-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.53 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 1.53 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
{
"name": "cat-cpu-monitor",
"displayName": "Cat CPU Monitor",
"description": "在状态栏显示猫咪动画,速度随CPU使用率变化,点击显示占用最高的进程",
"version": "1.0.2",
"publisher": "MengAiDev",
"icon":"images/icon.png",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "catCpuMonitor.showProcesses",
"title": "显示CPU占用最高的进程"
}
],
"configuration": {
"title": "Cat CPU Monitor",
"properties": {
"catCpuMonitor.animationSpeed.base": {
"type": "number",
"default": 1000,
"description": "基础动画速度(毫秒)"
},
"catCpuMonitor.updateInterval": {
"type": "number",
"default": 5,
"description": "CPU使用率检查间隔(秒)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^16.11.7",
"@types/vscode": "^1.75.0",
"typescript": "^5.8.3"
},
"dependencies": {
"generator-code": "^1.11.10"
}
}