-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.8 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.8 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
{
"name": "opencode-omniroute-auth",
"version": "1.1.0",
"description": "OpenCode authentication plugin for OmniRoute API with /connect command and dynamic model fetching",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./runtime": {
"import": "./dist/runtime.js",
"types": "./dist/runtime.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"clean": "node -e \"const fs=require('fs');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true});\"",
"test": "npm run build && node --test test/*.test.mjs",
"check:exports": "node --input-type=module -e \"import('./dist/index.js').then((m)=>{if(typeof m.default!=='function'){throw new Error('Default export must be a function');}for(const [key,value] of Object.entries(m)){if(typeof value!=='function'){throw new Error('Root export '+key+' must be a function to satisfy plugin loader constraints');}}})\"",
"prepublishOnly": "npm run clean && npm run build && npm run check:exports"
},
"keywords": [
"opencode",
"plugin",
"auth",
"omniroute",
"authentication",
"api-key",
"connect",
"models"
],
"author": "",
"repository": {
"type": "git",
"url": "https://github.com/Alph4d0g/opencode-omniroute-auth.git"
},
"homepage": "https://github.com/Alph4d0g/opencode-omniroute-auth#readme",
"bugs": {
"url": "https://github.com/Alph4d0g/opencode-omniroute-auth/issues"
},
"license": "MIT",
"peerDependencies": {
"@opencode-ai/plugin": "*"
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=20.0.0"
}
}