{
  "name": "@cnbcool/cnb-cli",
  "version": "1.9.6",
  "description": "CNB OpenAPI 命令行工具，基于 CNB 平台 Swagger 自动生成，支持 Issues、PR、Git、组织管理等全部 API 操作",
  "main": "skills/cnb-api/scripts/core/index.js",
  "bin": {
    "cnb": "bin/cnb.js"
  },
  "files": [
    "bin/",
    "dist/"
  ],
  "engines": {
    "node": ">=18.0.0"
  },
  "keywords": [
    "cnb",
    "cli",
    "openapi",
    "devops",
    "git",
    "issues",
    "pull-request"
  ],
  "repository": {
    "type": "git",
    "url": "https://cnb.cool/cnb/cnb-cli"
  },
  "scripts": {
    "build": "bun build cli/core/index.js --outfile dist/index.js --target node --format cjs --minify && sh scripts/replace-cli-version.sh dist/index.js",
    "compile:prepare": "bun build cli/core/index.js --outfile compile-dist/index.js --target node --format cjs --minify && sh scripts/replace-cli-version.sh compile-dist/index.js",
    "compile:darwin-arm64": "bun build compile-dist/index.js --compile --minify --target=bun-darwin-arm64 --outfile compile/cnb-darwin-arm64",
    "compile:darwin-x64": "bun build compile-dist/index.js --compile --minify --target=bun-darwin-x64-baseline --outfile compile/cnb-darwin-x64",
    "compile:linux-arm64": "bun build compile-dist/index.js --compile --minify --target=bun-linux-arm64 --outfile compile/cnb-linux-arm64",
    "compile:linux-x64": "bun build compile-dist/index.js --compile --minify --target=bun-linux-x64-baseline --outfile compile/cnb-linux-x64",
    "compile:windows-x64": "bun build compile-dist/index.js --compile --minify --target=bun-windows-x64-baseline --outfile compile/cnb-windows-x64.exe",
    "compile:all": "bun run compile:prepare && bun run compile:darwin-arm64 && bun run compile:darwin-x64 && bun run compile:linux-arm64 && bun run compile:linux-x64 && bun run compile:windows-x64",
    "link:all": "npx skills add ./skills --agent codebuddy --copy -y --skill '*'",
    "link:skill": "npx skills add ./skills --agent codebuddy --copy -y",
    "gen:skill": "npx csg"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "@cnbcool/cnb-api-generate": "^2.7.6",
    "bun": "^1.3.9",
    "skills": "^1.4.4"
  }
}
