-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (109 loc) · 2.88 KB
/
package.json
File metadata and controls
110 lines (109 loc) · 2.88 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
{
"name": "trae-usage-monitor",
"displayName": "Trae Usage",
"description": "Monitor Trae AI usage statistics in real-time",
"version": "1.3.3",
"publisher": "whyuds",
"repository": {
"type": "git",
"url": "https://github.com/whyuds/TraeUsage.git"
},
"license": "MIT",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"icon": "img/logo_256.png",
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "traeUsage.refresh",
"title": "%commands.refresh.title%",
"icon": "$(refresh)"
},
{
"command": "traeUsage.updateSession",
"title": "%commands.updateSession.title%",
"icon": "$(settings-gear)"
},
{
"command": "traeUsage.collectUsageDetails",
"title": "%commands.collectUsageDetails.title%",
"icon": "$(database)"
},
{
"command": "traeUsage.showUsageDashboard",
"title": "%commands.showUsageDashboard.title%",
"icon": "$(graph)"
},
{
"command": "traeUsage.showOutput",
"title": "%commands.showOutput.title%",
"icon": "$(output)"
}
],
"configuration": {
"title": "%configuration.title%",
"properties": {
"traeUsage.sessionId": {
"type": "string",
"default": "",
"description": "%configuration.sessionId.description%"
},
"traeUsage.refreshInterval": {
"type": "number",
"default": 300,
"description": "%configuration.refreshInterval.description%"
},
"traeUsage.language": {
"type": "string",
"enum": [
"auto",
"zh-CN",
"en"
],
"enumDescriptions": [
"%configuration.language.auto%",
"%configuration.language.zhCN%",
"%configuration.language.en%"
],
"default": "auto",
"description": "%configuration.language.description%"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"test:unit": "npm run compile && node ./src/test/buildDetailedTooltip.test.js",
"package": "node esbuild.js"
},
"devDependencies": {
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"esbuild": "^0.19.0",
"eslint": "^8.28.0",
"typescript": "^4.9.4",
"@types/mocha": "^10.0.0",
"@types/glob": "^8.0.0",
"mocha": "^10.0.0",
"glob": "^8.0.0",
"@vscode/test-electron": "^2.2.0"
},
"dependencies": {
"axios": "^1.6.0"
}
}