-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.61 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.61 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
{
"name": "usagebar",
"version": "1.5.0",
"description": "Windows system tray app showing AI coding tool usage stats",
"main": "dist/main/index.js",
"author": "UsageBar",
"license": "MIT",
"scripts": {
"dev": "npm run build && electron .",
"build": "tsc && npm run copy-assets",
"copy-assets": "powershell -Command \"if (-not (Test-Path dist/renderer)) { New-Item -ItemType Directory -Path dist/renderer }; Copy-Item src/renderer/*.html, src/renderer/*.png dist/renderer/\"",
"start": "electron .",
"package": "electron-builder --win",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:playwright": "npx playwright test",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.html\"",
"clean": "rimraf dist"
},
"dependencies": {
"axios": "^1.6.0",
"electron-store": "^8.1.0",
"electron-updater": "^6.6.2"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@types/node": "^20.10.0",
"electron": "^28.0.0",
"electron-builder": "^24.9.0",
"prettier": "^3.2.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.0",
"vitest": "^1.2.0"
},
"build": {
"appId": "com.usagebar.app",
"productName": "UsageBar",
"win": {
"icon": "assets/icon.ico",
"target": [
"dir",
"zip"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"assets/**/*"
]
}
}