Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Package JSON Scripts RunnerNew to Visual Studio Code? Get it now.
Package JSON Scripts Runner

Package JSON Scripts Runner

abdoseadaa

|
13 installs
| (1) | Free
Easily view and run npm scripts from package.json in the terminal with a beautiful sidebar interface
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Scripts Runner - VS Code Extension

VS Code Extension Version License

Easily view and run npm scripts from package.json with a beautiful sidebar interface. Create custom scripts, build command flows, and track your usage.


✨ Features

Package.json Scripts

  • Beautiful Sidebar Interface - Clean, modern UI integrated into VS Code's activity bar
  • Smart Icon Mapping - Automatically displays appropriate icons for script types (dev, build, test, start, deploy, docker, and more)
  • Real-time Search - Instantly filter scripts by name or command
  • One-Click Execution - Run any script directly in the terminal
  • Auto-refresh - Automatically updates when package.json changes

Custom Scripts

  • Create Your Own Scripts - Add custom commands that aren't in your package.json
  • Workspace-Specific - Custom scripts are saved per workspace/project
  • Quick Access - Run your custom scripts with a single click

Flows (Multi-Command Sequences)

  • Command Pipelines - Chain multiple commands together like CI/CD pipelines
  • One-Click Execution - Run entire workflows with a single click
  • Cross-Platform - Works on Windows, macOS, and Linux

Usage Tracking

  • Usage Counter - See how many times you've run each script
  • Last Used Time - Know when you last ran a command
  • Recent Indicator - Recently used scripts are highlighted

Data Management

  • View Data - Inspect your saved scripts and flows as JSON
  • Export - Backup your custom scripts and flows to a file
  • Import - Restore or share configurations with replace/merge options
  • Tab-Specific Actions - Export/import only what you need (scripts, custom scripts, or flows)

📦 Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X or Cmd+Shift+X)
  3. Search for "Scripts Runner"
  4. Click Install

From VSIX File

  1. Download the .vsix file
  2. Open VS Code
  3. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
  4. Type "Install from VSIX..."
  5. Select the downloaded .vsix file
  6. Reload VS Code when prompted

🚀 Usage

Getting Started

  1. Open a workspace that contains a package.json file
  2. Click the Scripts Runner icon in the activity bar (left sidebar)
  3. View all your npm scripts organized in a clean interface

Running Scripts

  • Package.json Scripts - Click any script to run npm run <script> in a new terminal
  • Custom Scripts - Create and run your own commands
  • Flows - Execute multiple commands in sequence

Navigation Tabs

Tab Description
package.json Scripts from your package.json file
Custom Your custom scripts for this workspace
Flow Multi-command workflows

Creating Custom Scripts

  1. Switch to the Custom tab
  2. Click to expand "Add New Script"
  3. Enter a name and command
  4. Click "Add Script"

Creating Flows

  1. Switch to the Flow tab
  2. Click to expand "Add New Flow"
  3. Enter a flow name
  4. Add multiple commands using "Add command" button
  5. Click "Create Flow"

Import/Export

  • Global Actions (top) - View All, Export All, Import All data
  • Tab Actions (bottom of each tab) - Work with specific data types only

📋 Requirements

  • VS Code: 1.74.0 or higher
  • Node.js: Project with package.json file

👤 Author

Abdelrahman Seada

  • Email: abdom.seada@gmail.com
  • GitLab: @abdom.seada

📝 License

This project is licensed under the MIT License.


📮 Support

If you encounter any issues or have suggestions:

  • Open an issue on GitLab
  • Email: abdom.seada@gmail.com

Made with ❤️ by Abdelrahman Seada

⭐ Star this repo if you find it helpful!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft