Skip to content

frontendniubility/script-buttons

 
 

Repository files navigation

banner

Script Buttons for VSCode

Make running custom scripts easier!

Features

When a package.json file is detected in the current workspace folder a button is created on the status bar for each script. When this button is clicked it runs the script in a terminal. Only 1 instance of each script can run at a given time.

scripts

Scripts can also be loaded in from a script-buttons.json file. Npm scripts will be white whereas non-npm scripts will be grey.

scripts

When no scripts can be found a warning message will be displayed.

no-scripts

Tip: If you have since added a package.json/script-buttons.json file or have modified existing scripts clicking the refresh button will attempt to find scripts again and update the buttons...

Extension Settings

Added configuration for selecting the cli tool like pnpm,yarn or npm. default is pnpm.

Known Issues

It seems must use npm tool when you want to publish/pack with vsce.

Release Notes

1.1.2

Added configuration for selecting the cli tool like pnpm,yarn or npm. default is pnpm. Forked from https://github.com/jwaterfall/script-buttons.git. it is an upgrade from that.

1.1.1

Added an NPM install button if a package.json file is detected.

1.1.0

Added the ability to define scripts without a package.json file, this is done using a script-buttons.json file.

1.0.0

Initial release.

About

A VSCode extension to run scripts from the status bar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%