A VS Code extension that replaces the built-in npm scripts sidebar with a richer, more capable alternative.
- Auto-detects your package manager -- supports npm, pnpm, bun, and yarn out of the box. Detection is based on lockfiles (
bun.lockb,pnpm-lock.yaml,yarn.lock,package-lock.json) and thepackageManagerfield inpackage.json. - One-click run -- click any script to immediately run it in an integrated terminal.
- Debug mode -- hover over a script to reveal a debug button that launches the script with Node.js debugging attached.
- Go to definition -- hover to reveal a button that jumps directly to the script in its
package.json. - Contextual icons -- each script gets an icon based on what it does: test, build, lint, format, Docker, Prisma, Playwright, i18n, deploy, TypeScript, Storybook, and more. Falls back to your package manager's icon.
- Multi-root support -- automatically discovers and groups scripts from every
package.jsonin your workspace (excludingnode_modules). - Live updates -- the tree refreshes automatically when any
package.jsonchanges.
The extension checks for lockfiles in this order:
bun.lockb/bun.lock→ bunpnpm-lock.yaml→ pnpmyarn.lock→ yarnpackage-lock.json→ npmpackageManagerfield in rootpackage.json→ corresponding manager- Fallback → npm
Everyone is welcome to open a PR to add more icons or improve existing ones!
MIT
