Run NPM Scripts
A simple yet powerful VS Code extension that helps you quickly view and run npm scripts in your project.
Features
- 📌 Adds an npm scripts button to VS Code status bar
- 📜 Quick access to all npm scripts defined in package.json
- ⚡ Run npm scripts with a single click
- 🔄 Smart memory of last executed script with priority display
- ⌨️ Re-run last script with Ctrl+Shift+R shortcut in terminal
- ✏️ Write last script to terminal without executing with Ctrl+Alt+R shortcut
- 🚫 Shows currently running command in status bar and allows termination with a click
How to Use
- Open a project containing package.json in VS Code
- Look for the "npm scripts" button in the status bar
- Click the button to open the scripts list
- Select a script to run, and the extension will execute it in the terminal
- To re-run the last executed script:
- Focus on the terminal
- Press Ctrl+Shift+R
- To write the last executed script to terminal without running:
- Focus on the terminal
- Press Ctrl+Alt+R
- To terminate a running command:
- Look for the spinning command in the status bar
- Click on it to terminate the command
Screenshot

Installation
Search for "Run NPM Scripts" in the VS Code Extension Marketplace and click install.
License
MIT
| |