-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.3 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.3 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
{
"name": "opencode-claude-auth",
"version": "1.5.0",
"description": "OpenCode plugin that uses your Claude Code credentials — no separate login needed.",
"keywords": [
"anthropic",
"auth",
"claude",
"opencode",
"plugin"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/griffinmartin/opencode-claude-auth.git"
},
"files": [
"opencode-claude-auth.js",
"dist",
"installation.md"
],
"type": "module",
"main": "opencode-claude-auth.js",
"module": "opencode-claude-auth.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./opencode-claude-auth.js"
},
"./server": {
"types": "./dist/index.d.ts",
"import": "./opencode-claude-auth.js"
},
"./claude-auth-plugin": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./claude-auth-plugin.js": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./opencode-claude-auth": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./opencode-claude-auth.js": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "tsc && cp src/anthropic-prompt.txt dist/",
"test": "node --test --experimental-strip-types src/**/*.test.ts",
"test:models": "pnpm run build && node scripts/test-models.ts",
"intercept": "pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts",
"intercept:all": "pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all",
"intercept:update": "pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update",
"validate:oauth": "pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts",
"lint": "oxlint && oxfmt --check .",
"lint:fix": "oxlint --fix . && oxfmt --write .",
"format": "oxfmt --write .",
"prepublishOnly": "pnpm run build && pnpm test"
},
"devDependencies": {
"@opencode-ai/plugin": "latest",
"@types/node": "^25.5.0",
"oxfmt": "0.41.0",
"oxlint": "1.56.0",
"typescript": "^5.0.0"
},
"peerDependencies": {
"@opencode-ai/plugin": "*"
},
"packageManager": "pnpm@10.32.1"
}