Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.05 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
{
"name": "opencode-tokenmeter-tui",
"version": "1.4.1",
"description": "OpenCode TUI plugin: TokenMeter sidebar — live token usage, cost, and delegation tree for sessions",
"type": "module",
"main": "./dist/tui.js",
"types": "./dist/tui.d.ts",
"exports": {
".": {
"types": "./dist/tui.d.ts",
"import": "./dist/tui.js"
},
"./tui": {
"types": "./dist/tui.d.ts",
"import": "./dist/tui.js"
}
},
"files": [
"dist"
],
"keywords": [
"opencode",
"opencode-plugin",
"plugin",
"tokenmeter",
"tui"
],
"license": "MIT",
"author": "jonasotoaguilar",
"repository": {
"type": "git",
"url": "https://github.com/jonasotoaguilar/opencode-tokenmeter.git"
},
"packageManager": "bun@1.3.11",
"engines": {
"node": ">=22"
},
"dependencies": {
"@opentui/core": "0.4.5",
"@opentui/solid": "0.4.5",
"solid-js": "1.9.12"
},
"peerDependencies": {
"@opencode-ai/plugin": ">=1.14.50 <2"
},
"devDependencies": {
"@biomejs/biome": "^2.5.7",
"@opencode-ai/plugin": "^1.18.14",
"@types/bun": "^1.3.14",
"@types/node": "^22.20.1",
"lefthook": "2.1.10",
"typescript": "~5.9.3"
},
"scripts": {
"build": "bun run scripts/build.ts",
"coverage": "bun test --coverage --coverage-reporter=lcov --coverage-reporter=text --path-ignore-patterns=\"test/artifact.test.ts\" --path-ignore-patterns=\"test/helpers/*\"",
"prepack": "bun run build",
"typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.test.json",
"test": "bun test",
"test:dist": "bun run build && bun test test/artifact.test.ts",
"audit": "bun audit",
"biome:check": "biome check src test scripts tsconfig.json tsconfig.test.json tsconfig.build.json",
"biome:format": "biome format --write src test scripts tsconfig.json tsconfig.test.json tsconfig.build.json",
"hooks:install": "lefthook install",
"pack:dry-run": "bun pm pack --dry-run"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"overrides": {
"@babel/core": "^7.29.7"
}
}