nodejs_build
Execute build scripts for Node.js projects using npm, yarn, pnpm, or bun. Supports custom scripts, production builds, and watch mode.
Instructions
Run build script with package manager (npm/yarn/pnpm/bun)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments | |
| watch | No | Watch mode | |
| script | No | Build script name (default: build) | |
| timeout | No | Command timeout in milliseconds | |
| directory | No | Working directory | |
| production | No | Production build |