Make running custom scripts easier!
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 can also be loaded in from a script-buttons.json file. Npm scripts will be white whereas non-npm scripts will be grey.
When no scripts can be found a warning message will be displayed.
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...
Added configuration for selecting the cli tool like pnpm,yarn or npm. default is pnpm.
It seems must use npm tool when you want to publish/pack with vsce.
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.
Added an NPM install button if a package.json file is detected.
Added the ability to define scripts without a package.json file, this is done using a script-buttons.json file.
Initial release.