-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.98 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 1.98 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
{
"name": "opencode-usage",
"version": "0.5.15",
"description": "CLI tool for tracking OpenCode AI coding assistant usage and costs",
"keywords": [
"ai",
"anthropic",
"bun",
"claude",
"cli",
"cost",
"gpt",
"openai",
"opencode",
"tokens",
"tracking",
"usage"
],
"homepage": "https://github.com/gaboe/opencode-usage#readme",
"bugs": {
"url": "https://github.com/gaboe/opencode-usage/issues"
},
"license": "MIT",
"author": "gaboe",
"repository": {
"type": "git",
"url": "git+https://github.com/gaboe/opencode-usage.git"
},
"bin": {
"opencode-usage": "dist/index.js"
},
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "bun run build.ts",
"build:shebang": "bun -e \"const f='dist/index.js';Bun.write(f,(await Bun.file(f).text()).replace('#!/usr/bin/env node','#!/usr/bin/env bun'))\"",
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist",
"check": "bun check.ts",
"check:ci": "bun check.ts ci",
"ck:warmup": "bun run scripts/warmup-ck.ts",
"compile": "bun build --compile --minify ./src/index.ts --outfile opencode-usage",
"dev": "bun run ./src/index.ts",
"dev:commander": "NO_OPEN=1 bun --watch run ./src/index.ts --commander & bun run --cwd src/commander-ui dev",
"dev:warm": "bun run ck:warmup & bun run ./src/index.ts",
"format": "bunx oxfmt",
"lint": "bunx oxlint -c ./.oxlintrc.json --deny-warnings",
"prepublishOnly": "bun run check && bun run build"
},
"dependencies": {
"@opentui/core": "0.1.78",
"@opentui/solid": "0.1.78",
"oc-anthropic-multi-account": "^1.0.14",
"solid-js": "^1.9.11"
},
"devDependencies": {
"@types/bun": "latest",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=18"
}
}