Files
alex fcf7680e49 chore: 自 fox monorepo 移出成獨立公開倉庫(fox #49)
- 自 alterminal/fox 的 cli/ 目錄以 git subtree split 移出(保留 git 歷史)。
- package.json:改為獨立專案(移除 private、補 repository/homepage/files、
  增加 packageManager pnpm@9.15.3)。
- README/docs/cli-install.md:路徑與指令改為本倉庫根目錄版型
  (node dist/cli.js、pnpm build;獨立安裝不會建立 node_modules/.bin/fox,
  掛 PATH 改用 symlink)。
- 新增 .gitignore 與 pnpm-lock.yaml。
- 驗證:pnpm install + pnpm build + node dist/cli.js --help(exit 0)、
  未知命令 exit 2。
2026-09-07 21:14:23 +08:00

35 lines
824 B
JSON

{
"name": "fox-cli",
"version": "0.1.0",
"description": "Fox(狐)命令列工具:直接與 Fox 後端 API 互動(供人與 AI agent 使用)",
"type": "module",
"bin": {
"fox": "./dist/cli.js"
},
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "https://gitea.alterminal.com/alterminal/fox-cli.git"
},
"homepage": "https://gitea.alterminal.com/alterminal/fox-cli",
"bugs": {
"url": "https://gitea.alterminal.com/alterminal/fox-cli/issues"
},
"engines": {
"node": ">=22"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"start": "node dist/cli.js",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"devDependencies": {
"@types/node": "^22.10.0",
"typescript": "^5.7.0"
},
"packageManager": "pnpm@9.15.3"
}