-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 1.79 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
{
"name": "copilot-cost",
"version": "0.3.1",
"description": "Local-only GitHub Copilot CLI statusline + dashboard for real-time token cost tracking. Reads OpenTelemetry traces, never sends data anywhere.",
"keywords": [
"github",
"copilot",
"copilot-cli",
"statusline",
"cost",
"tokens",
"opentelemetry",
"otel",
"dashboard"
],
"license": "MIT",
"author": "devartifex",
"private": true,
"type": "module",
"engines": {
"node": ">=18"
},
"bin": {
"copilot-cost": "./dist/cli.js"
},
"files": [
"dist",
"dashboard-ui/dist",
"!dist/**/*.map",
"!dashboard-ui/dist/**/*.map",
"!dashboard-ui/README.md",
"pricing.snapshot.yaml",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:ui && npm run build:js",
"build:js": "tsup",
"build:ui": "node scripts/build-ui.mjs",
"dev": "tsup --watch",
"test": "vitest run",
"test:e2e": "playwright test",
"test:watch": "vitest",
"lint": "tsc --noEmit",
"start": "node dist/cli.js",
"cli": "npm run build --silent && node dist/cli.js",
"setup": "npm install && npm run build && npm link && node dist/cli.js install && node dist/cli.js doctor",
"local:install": "npm run build && node dist/cli.js install",
"local:uninstall": "node dist/cli.js uninstall",
"local:doctor": "node dist/cli.js doctor",
"local:dashboard": "npm run build --silent && node dist/cli.js dashboard",
"screenshots:demo": "node scripts/generate-demo-screenshots.mjs"
},
"dependencies": {
"chart.js": "^4.4.4",
"commander": "^12.1.0"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@types/node": "^22.7.0",
"tailwindcss": "^3.4.13",
"tsup": "^8.3.0",
"typescript": "^5.6.2",
"vitest": "^3.2.4"
}
}