cli / mcp for bitbucket
1{
2 "name": "bitbucket-tool",
3 "version": "1.0.0",
4 "private": true,
5 "workspaces": [
6 "packages/*"
7 ],
8 "scripts": {
9 "generate:client": "curl -sL https://dac-static.atlassian.com/cloud/bitbucket/swagger.v3.json -o /tmp/bitbucket-spec.json && tsx scripts/patch-spec.ts /tmp/bitbucket-spec.json && openapi-ts -i /tmp/bitbucket-spec.json -o ./packages/core/src/generated/bitbucket-client -c @hey-api/client-fetch",
10 "build": "NODE_OPTIONS='--max-old-space-size=8192' npm run build -w @bitbucket-tool/core && npm run build -w bitbucket-tool-cli && npm run build -w bitbucket-tool-mcp",
11 "dev:cli": "tsx packages/cli/src/bin/bb.ts",
12 "dev:mcp": "tsx packages/mcp-server/src/index.ts",
13 "test": "npm run test -w bitbucket-tool-mcp",
14 "lint": "biome check packages/ *.json",
15 "lint:fix": "biome check --write packages/ *.json",
16 "typecheck": "NODE_OPTIONS='--max-old-space-size=8192' npm run typecheck -w @bitbucket-tool/core && NODE_OPTIONS='--max-old-space-size=8192' npm run typecheck -w bitbucket-tool-cli && NODE_OPTIONS='--max-old-space-size=8192' npm run typecheck -w bitbucket-tool-mcp"
17 },
18 "devDependencies": {
19 "@biomejs/biome": "2.3.10",
20 "@hey-api/openapi-ts": "^0.89.2",
21 "@types/node": "^25.0.3",
22 "esbuild": "^0.27.3",
23 "tsx": "^4.21.0",
24 "typescript": "5.9.3"
25 }
26}