-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.29 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.29 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
{
"name": "tokenusage",
"version": "0.2.3",
"description": "Claude Code usage analysis desktop app — optimize your AI coding habits",
"type": "module",
"main": "dist-electron/main/index.js",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"start": "electron .",
"package": "pnpm run build && electron-builder",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"typecheck": "tsc --noEmit",
"sync-models": "npx tsx scripts/sync-models.ts"
},
"dependencies": {
"better-sqlite3": "^11.0.0",
"chokidar": "^3.6.0",
"electron-updater": "^6.1.7"
},
"devDependencies": {
"@electron-toolkit/preload": "^3.0.0",
"@electron-toolkit/utils": "^3.0.0",
"@electron/notarize": "^3.1.1",
"@playwright/test": "^1.44.0",
"@types/better-sqlite3": "^7.6.8",
"@types/node": "^20.12.7",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"dotenv": "^17.4.2",
"electron": "^30.5.1",
"electron-builder": "^24.13.3",
"electron-vite": "^2.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.34.5",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vitest": "^1.5.2"
},
"build": {
"appId": "com.tokenusage.app",
"productName": "TokenUsage",
"directories": {
"buildResources": "resources"
},
"files": [
"dist-electron",
"dist"
],
"extraResources": [
{
"from": "resources/models.json",
"to": "models.json"
}
],
"mac": {
"category": "public.app-category.developer-tools",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "resources/entitlements.mac.plist",
"entitlementsInherit": "resources/entitlements.mac.plist",
"notarize": false
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
}
],
"category": "Development"
},
"afterPack": "scripts/after-pack.js",
"afterSign": "scripts/notarize.cjs"
}
}