-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.81 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 1.81 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
{
"name": "opencode-mattermost",
"version": "0.1.2",
"license": "MIT",
"description": "A simple chat plugin for communicating with OpenCode servers through Mattermost.",
"repository": {
"type": "git",
"url": "https://github.com/krumpstead/opencode-mattermost.git"
},
"bugs": {
"url": "https://github.com/krumpstead/opencode-mattermost/issues"
},
"keywords": [
"mattermost",
"opencode",
"plugin",
"chat",
"agentic",
"agents",
"ai"
],
"author": "krumpstead",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./server": "./dist/index.js"
},
"engines": {
"bun": ">=1.0"
},
"readme": "README.md",
"scripts": {
"all": "bun clean && bun run build && bun test && bun run deploy && bun clean",
"build": "tsc",
"bundle": "bun build ./src/index.ts --outdir ./dist",
"clean": "rm -rf dist $npm_package_name-$npm_package_version.tgz lcov coverage-report",
"clean-deploy": "rm -rf $HOME/.cache/opencode/packages/$npm_package_name@latest",
"coverage": "bun test test/ --coverage --coverage-reporter=lcov --coverage-dir ./lcov && genhtml -o coverage-report lcov/lcov.info",
"deploy": "bun pm pack && mkdir -p $HOME/.cache/opencode/packages/$npm_package_name@latest && cd $HOME/.cache/opencode/packages/$npm_package_name@latest && rm -rf $HOME/.cache/opencode/packages/$npm_package_name@latest/* && bun install $npm_config_local_prefix/$npm_package_name-$npm_package_version.tgz",
"dev": "bun run --watch src/index.ts",
"start": "bun run src/index.ts",
"lint": "biome check src/"
},
"dependencies": {
"@mattermost/client": "^11.9.0",
"@mattermost/types": "^11.9.0",
"@opencode-ai/plugin": "^1.18.15",
"ws": "^8.18.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"@types/bun": "latest",
"@types/ws": "^8.5.13",
"typescript": "^5.7.0"
}
}