forked from Ageha6912/TokenUse
-
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.23 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 1.23 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": "tokenuse",
"productName": "TokenUse",
"version": "0.3.0",
"private": true,
"description": "实时监测 AI 编程工具的 token 消耗",
"main": "dist/electron/main.js",
"author": "Ageha6912",
"scripts": {
"build": "node scripts/build.mjs",
"typecheck": "tsc --noEmit",
"server": "node dist/server/cli.js",
"app": "electron .",
"start": "npm run build && electron .",
"test": "npm run build && node scripts/test.mjs",
"dist": "npm run build && electron-builder --win"
},
"build": {
"appId": "com.tokenuse.app",
"productName": "TokenUse",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"web/**/*",
"electron/floating.html",
"assets/**/*"
],
"win": {
"icon": "assets/icon.png",
"target": [
{
"target": "nsis"
},
{
"target": "portable"
}
]
}
},
"devDependencies": {
"@types/node": "^24.0.0",
"@types/ws": "^8.0.0",
"echarts": "^6.1.0",
"electron": "^44.0.0",
"electron-builder": "^26.0.0",
"esbuild": "^0.25.0",
"typescript": "^5.6.0",
"ws": "^8.21.3"
},
"dependencies": {
"qrcode-generator": "^2.0.4"
}
}