Files
BMAD-METHOD/package.json
Brian Madison 6e63bf2241 Fix npx execution issue with bmad CLI
- Added wrapper script (bmad.js) at root to handle npx execution context
- Fixed module resolution in tools/installer/bin/bmad.js for both local and npx contexts
- Updated package.json bin paths to use the wrapper script
- Handles temporary npx directories properly using execSync

This fixes the issue where `npx github:bmadcode/BMAD-METHOD#v4-alpha bmad`
was dropping into a shell instead of executing the command.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-13 09:01:52 -05:00

46 lines
1.0 KiB
JSON

{
"name": "bmad-method",
"version": "4.0.0",
"description": "Breakthrough Method of Agile AI-driven Development",
"main": "tools/cli.js",
"bin": {
"bmad": "./bmad.js",
"bmad-method": "./bmad.js"
},
"scripts": {
"build": "node tools/cli.js build",
"build:agents": "node tools/cli.js build --agents-only",
"build:teams": "node tools/cli.js build --teams-only",
"list:agents": "node tools/cli.js list:agents",
"validate": "node tools/cli.js validate"
},
"dependencies": {
"commander": "^9.4.1",
"js-yaml": "^4.1.0",
"@kayvan/markdown-tree-parser": "^1.4.2",
"chalk": "^4.1.2",
"fs-extra": "^11.1.0",
"inquirer": "^8.2.5",
"ora": "^5.4.1",
"glob": "^8.0.3"
},
"keywords": [
"agile",
"ai",
"orchestrator",
"development",
"methodology",
"agents",
"bmad"
],
"author": "Brian (BMad) Madison",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/your-org/bmad-method.git"
},
"engines": {
"node": ">=14.0.0"
}
}