-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.23 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
85
{
"name": "opencode-codex-usage",
"version": "2.2.2",
"description": "Codex quota probe and OpenCode toast plugin",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/jasonmit/opencode-codex-usage.git"
},
"homepage": "https://github.com/jasonmit/opencode-codex-usage#readme",
"bugs": {
"url": "https://github.com/jasonmit/opencode-codex-usage/issues"
},
"keywords": [
"opencode",
"opencode-plugin",
"codex",
"openai",
"chatgpt",
"plugin",
"quota",
"usage",
"rate-limit",
"tui"
],
"type": "module",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./server": "./dist/index.js",
"./opencode2": "./dist/opencode2.js",
"./opencode2/tui": "./dist/opencode2-tui.js",
"./tui": "./dist/tui.js"
},
"imports": {
"#lib/*": {
"opencode-codex-usage-test": "./.test-dist/lib/*",
"default": "./dist/lib/*"
},
"#root/*": {
"opencode-codex-usage-test": "./.test-dist/*",
"default": "./dist/*"
}
},
"bin": {
"opencode-codex-usage": "dist/bin/opencode-codex-usage.js"
},
"files": [
"dist/bin/**/*.js",
"dist/index.js",
"dist/opencode2.js",
"dist/opencode2-tui.js",
"dist/tui.js",
"dist/lib/**/*.js",
"opencode2-plugin",
"opencode2-tui-plugin",
"README.md"
],
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc -p tsconfig.json && chmod +x dist/bin/opencode-codex-usage.js",
"test": "rimraf .test-dist && tsc -p tests/tsconfig.json && node --conditions=browser --conditions=opencode-codex-usage-test --test \".test-dist/tests/**/*.test.js\"",
"lint": "oxlint --type-aware --deny-warnings .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepack": "npm run build",
"pack:dry": "npm pack --dry-run",
"pack": "npm pack"
},
"devDependencies": {
"@oxlint/plugins": "1.79.0",
"@types/node": "^26.2.0",
"oxlint": "^1.79.0",
"oxlint-tsgolint": "^7.0.2001",
"prettier": "^3.9.6",
"rimraf": "^6.1.3",
"typescript": "^7.0.2"
},
"dependencies": {
"@opencode/plugin": "^2.0.12",
"jsonc-parser": "^3.3.1",
"solid-js": "^1.9.15",
"zod": "^4.4.3"
}
}