-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.82 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.82 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
{
"name": "opencode-codex-meter",
"version": "0.1.3",
"description": "OpenCode plugin that reports Codex subscription quota and per-session token usage",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/SBakolis/opencode-sidebar-usage.git"
},
"type": "module",
"main": "./dist/index.js",
"engines": {
"node": ">=20",
"opencode": ">=1.0.0 <2.0.0"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./server": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./tui": {
"import": "./dist/tui/index.js",
"types": "./dist/tui/index.d.ts"
}
},
"bin": {
"codex-meter": "dist/cli/main.js"
},
"files": [
"dist",
"README.md",
"SECURITY.md"
],
"scripts": {
"build": "tsup",
"build:tui": "tsc -p tsconfig.tui.json && bun run scripts/build-tui.mjs",
"build:all": "npm run build && npm run build:tui",
"typecheck": "tsc --noEmit -p tsconfig.json",
"lint": "biome check src test",
"lint:fix": "biome check --write src test",
"format": "biome format --write src test",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:smoke": "npm run build:all && vitest run --config vitest.smoke.config.ts",
"pack:check": "npm run build:all && npm pack --dry-run"
},
"dependencies": {
"@opencode-ai/plugin": "1.18.3",
"@opencode-ai/sdk": "1.18.3",
"zod": "4.1.8"
},
"peerDependencies": {
"@opentui/solid": ">=0.4.3",
"solid-js": ">=1.9.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@opentui/solid": "0.4.4",
"@types/node": "22.10.2",
"@vitest/coverage-v8": "2.1.8",
"solid-js": "1.9.12",
"tsup": "^8.3.5",
"typescript": "5.9.2",
"vitest": "2.1.8"
}
}