Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.06 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.06 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
{
"name": "@chenlongapps/opencode-token-usage",
"version": "0.4.9",
"description": "Session-tree token usage, live performance, context window and estimated cost for OpenCode 2",
"keywords": [
"opencode",
"opencode-plugin",
"token-usage",
"context-window",
"tps",
"ttft",
"cost"
],
"homepage": "https://github.com/chenlongapps/opencode-token-usage#readme",
"bugs": {
"url": "https://github.com/chenlongapps/opencode-token-usage/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chenlongapps/opencode-token-usage.git"
},
"type": "module",
"license": "MIT",
"engines": {
"node": ">=22"
},
"files": [
"index.js",
"tui.js",
"dist",
"README.md",
"ROADMAP.md",
"docs/pricing.md",
"docs/verification.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./tui": {
"types": "./dist/tui.d.ts",
"import": "./dist/tui.js"
}
},
"scripts": {
"build": "node scripts/build.mjs",
"typecheck": "tsc --noEmit",
"test": "tsx --test test/*.test.ts test/*.test.mjs",
"test:smoke": "node scripts/smoke.mjs",
"prices:update": "tsx scripts/update-prices.ts",
"release:patch": "npm version patch",
"prepublishOnly": "npm run typecheck && npm test",
"prepack": "npm run build"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@opencode/plugin": "2.0.24"
},
"peerDependencies": {
"@opentui/core": "0.5.14",
"@opentui/solid": "0.5.14",
"solid-js": ">=1.9.0"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@opencode/client": "2.0.24",
"@opencode/schema": "2.0.24",
"@opencode/theme": "2.0.24",
"@opentui/core": "0.5.14",
"@opentui/solid": "0.5.14",
"@types/node": "^22.0.0",
"@xterm/headless": "6.0.0",
"babel-preset-solid": "1.9.12",
"solid-js": "1.9.12",
"tsx": "^4.20.0",
"typescript": "^5.9.0"
},
"packageManager": "npm@10.9.8"
}