Run Package Scripts
A VS Code extension that makes script names in package.json clickable to run them.
Features
- Click to Run: Script names in
package.json become clickable links
- Multiple Package Managers: Supports npm, yarn, pnpm, and bun
- Works with any
package.json file in your workspace
Usage
- Open any
package.json file
- Click on any script name in the
scripts section to run it
- The script runs in the integrated terminal
Example
When you open a package.json with scripts like:
{
"scripts": {
"build": "tsc",
"test": "jest",
"start": "node index.js"
}
}
You'll see ▶️ Run and 🐛 Debug buttons above each script that you can click to execute them.
Requirements
- VS Code 1.108.0 or higher
- Node.js (for running npm scripts)
Extension Settings
This extension works out of the box with no additional configuration required.
Known Issues
None at this time.
Release Notes
0.0.1
Initial release of Run Package Scripts:
- CodeLens run buttons for package.json scripts
- Debug support for Node.js scripts
- Terminal integration
| |