-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.86 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.86 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "opencode-pty",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"version": "0.3.2",
"description": "OpenCode plugin for interactive PTY management - run background processes, send input, read output with regex filtering",
"author": "shekohex",
"keywords": [
"opencode",
"opencode-plugin",
"pty",
"pseudo-terminal",
"terminal",
"background-process",
"interactive",
"cli",
"shell",
"dev-server",
"bun"
],
"repository": {
"type": "git",
"url": "git+https://github.com/shekohex/opencode-pty.git"
},
"bugs": {
"url": "https://github.com/shekohex/opencode-pty/issues"
},
"homepage": "https://github.com/shekohex/opencode-pty#readme",
"files": [
"dist"
],
"license": "MIT",
"type": "module",
"exports": {
"./server": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./*": {
"types": "./dist/src/*.d.ts",
"default": "./dist/src/*.js"
},
"./*/*": {
"types": "./dist/src/*/*.d.ts",
"default": "./dist/src/*/*.js"
},
"./*/*/*": {
"types": "./dist/src/*/*/*.d.ts",
"default": "./dist/src/*/*/*.js"
},
"./*/*/*/*": {
"types": "./dist/src/*/*/*/*.d.ts",
"default": "./dist/src/*/*/*/*.js"
}
},
"scripts": {
"typecheck": "tsc --noEmit",
"unittest": "bun test",
"test:e2e": "PW_DISABLE_TS_ESM=1 NODE_ENV=test bun --bun playwright test",
"test:all": "bun unittest && bun test:e2e",
"build:plugin": "tsc -p tsconfig.build.json && bun x copyfiles -u 0 \"src/**/*.txt\" dist",
"build:dev": "bun clean && bun build:plugin && vite build --mode development",
"build:prod": "bun clean && bun build:plugin && vite build --mode production",
"prepack": "bun build:prod",
"clean": "rm -rf dist playwright-report test-results",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"format": "biome format .",
"format:fix": "biome format --write ."
},
"devDependencies": {
"@biomejs/biome": "2.3.13",
"@playwright/test": "1.57.0",
"@types/bun": "^1.3.8",
"@types/jsdom": "^27.0.0",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^4.7.0",
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-serialize": "^0.14.0",
"@xterm/xterm": "^6.0.0",
"happy-dom": "^20.5.0",
"jsdom": "^27.4.0",
"playwright-core": "1.57.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.9.3",
"vite": "^7.3.1"
},
"peerDependencies": {
"typescript": "^5"
},
"engines": {
"opencode": ">=1.3.13"
},
"dependencies": {
"@opencode-ai/plugin": "^1.3.13",
"@opencode-ai/sdk": "^1.3.13",
"bun-pty": "^0.4.8",
"open": "^11.0.0"
}
}