Files
openwork/packages/owpenbot/package.json
2026-02-09 00:06:31 -08:00

65 lines
1.9 KiB
JSON

{
"name": "owpenwork",
"version": "0.11.38",
"description": "Slack + WhatsApp + Telegram bridge for a running OpenCode server",
"private": false,
"type": "module",
"bin": {
"owpenwork": "dist/cli.js",
"owpenbot": "dist/cli.js"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/different-ai/openwork.git",
"directory": "packages/owpenbot"
},
"keywords": [
"opencode",
"slack",
"telegram",
"whatsapp",
"bridge",
"bot"
],
"files": [
"dist",
"README.md",
".env.example",
"install.sh"
],
"scripts": {
"dev": "bun src/cli.ts",
"build": "tsc -p tsconfig.json",
"build:bin": "bun build --compile src/cli.ts --define __OWPENBOT_VERSION__=\\\"$npm_package_version\\\" --outfile dist/bin/owpenbot",
"build:bin:all": "bun ./script/build.ts --outdir dist/bin --target bun-darwin-arm64 --target bun-darwin-x64 --target bun-linux-x64 --target bun-linux-arm64 --target bun-windows-x64",
"build:binary": "bun ./script/build.ts --outdir dist/bin",
"start": "bun dist/cli.js start",
"whatsapp:login": "bun dist/cli.js whatsapp login",
"pairing-code": "bun dist/cli.js pairing-code",
"typecheck": "tsc -p tsconfig.json --noEmit",
"setup": "bun scripts/setup.mjs",
"test:unit": "pnpm build && bun test test/*.test.js",
"test:smoke": "bun scripts/smoke.mjs",
"test:cli": "pnpm build && bun scripts/test-cli.mjs",
"test:npx": "bun scripts/test-npx.mjs"
},
"dependencies": {
"@opencode-ai/sdk": "^1.1.31",
"@slack/socket-mode": "^2.0.5",
"@slack/web-api": "^7.13.0",
"@whiskeysockets/baileys": "7.0.0-rc.9",
"commander": "^12.1.0",
"dotenv": "^16.4.7",
"grammy": "^1.39.3",
"pino": "^9.6.0",
"qrcode-terminal": "^0.12.0"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/qrcode-terminal": "^0.12.0",
"bun-types": "^1.3.6",
"typescript": "^5.6.3"
}
}