-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.9 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.9 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
{
"name": "@headsdown/opencode",
"version": "0.1.3",
"description": "HeadsDown availability and focus-mode gating plugin for OpenCode.",
"keywords": [
"opencode",
"opencode-plugin",
"headsdown",
"availability",
"focus"
],
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./tui": {
"import": "./dist/tui.js",
"types": "./dist/tui.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/headsdownapp/headsdown-opencode.git"
},
"homepage": "https://github.com/headsdownapp/headsdown-opencode#readme",
"bugs": {
"url": "https://github.com/headsdownapp/headsdown-opencode/issues"
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"build": "npm run build:types && npm run build:bundle",
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly",
"build:bundle": "npm run build:bundle:index && npm run build:bundle:tui && npm run build:bundle:policy",
"build:bundle:index": "esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/index.js --external:@opencode-ai/plugin",
"build:bundle:tui": "esbuild src/tui.ts --bundle --platform=node --format=esm --outfile=dist/tui.js --external:@opencode-ai/plugin",
"build:bundle:policy": "esbuild src/policy.ts --bundle --platform=node --format=esm --outfile=dist/policy.js",
"dev": "tsc -p tsconfig.build.json --watch",
"test": "npm run build && vitest run"
},
"dependencies": {
"@opencode-ai/plugin": "^1.14.25"
},
"devDependencies": {
"@headsdown/sdk": "^0.2.14",
"@types/node": "^25.6.0",
"esbuild": "^0.28.0",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"overrides": {
"uuid": "^14.0.0"
}
}