Files
telegram-codex-bot/package.json
T
JianMiauandClaude Fable 5 313e651887 加上 publishConfig 與 repository 設定
摘要:
package.json 補上發佈到 git.catan.com.tw Frontend npm registry 的設定與 repo 位址。

修法:
registry URL 需以斜線結尾,否則 npm 的認證比對(nerf-dart)會砍掉最後一段
路徑,找不到 ~/.npmrc 裡的 token 而 ENEEDAUTH。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 16:28:10 +08:00

42 lines
865 B
JSON

{
"name": "telegram-codex-bot",
"version": "0.1.0",
"description": "Telegram bot powered by the local Codex CLI — zero-dependency, pm2-managed, with a built-in PM2 web viewer",
"license": "MIT",
"type": "commonjs",
"publishConfig": {
"registry": "https://git.catan.com.tw/api/packages/Frontend/npm/"
},
"repository": {
"type": "git",
"url": "git@git.catan.com.tw:Frontend/telegram-codex-bot.git"
},
"main": "src/index.js",
"bin": {
"telegram-codex-bot": "bin/cli.js",
"tgcodex": "bin/cli.js"
},
"files": [
"bin/",
"src/",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18"
},
"scripts": {
"start": "node bin/cli.js web",
"dev": "node --watch src/web/server.js"
},
"keywords": [
"telegram",
"bot",
"codex",
"codex-cli",
"pm2",
"ai",
"agent"
]
}