-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.83 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 1.83 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
{
"name": "@dmmop/opencode-key-rotator",
"version": "2.2.1",
"description": "OpenCode v2 plugin that automatically rotates provider API keys on rate limits and quota errors.",
"author": "dmmop <2412013-dmmop@users.noreply.gitlab.com>",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dmmop/opencode-key-rotator.git"
},
"homepage": "https://github.com/dmmop/opencode-key-rotator#readme",
"bugs": "https://github.com/dmmop/opencode-key-rotator/issues",
"keywords": [
"opencode",
"key-rotation",
"credentials",
"plugin"
],
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"opencode-key-rotator": "dist/bin.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./tui": {
"types": "./dist/tui.d.ts",
"default": "./dist/tui.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"prepare": "husky",
"build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc",
"typecheck": "tsc --noEmit",
"test": "npm run build && node --test tests/*.test.mjs",
"format": "prettier --write .",
"format:check": "prettier --check .",
"publish:staging": "npm publish --tag=staging",
"promote:latest": "npm dist-tag add @dmmop/opencode-key-rotator@$npm_package_version latest"
},
"dependencies": {
"@opencode/plugin": "2.0.2",
"jsonc-parser": "^3.3.1"
},
"devDependencies": {
"@commitlint/cli": "20.5.3",
"@commitlint/config-conventional": "20.5.3",
"@types/node": "^22.5.0",
"husky": "9.1.7",
"prettier": "^3.6.0",
"typescript": "^5.8.0"
},
"engines": {
"node": ">=22.5.0"
}
}