Nice terminal interface to handle npm/yarn scripts execution as well as watch and run automatically the wanted ones
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Coffeekraken Script Stack

Coffeekraken Scripts Stack

Nice terminal interface to handle npm/yarn scripts execution as well as watch and run automatically the wanted ones

Scripts stack screenshot

Table of content

  1. Features
  2. Install
  3. Launch
  4. Options
  5. Watch mecanism
  6. Notifications
  7. Contribute
  8. Who are coffeekraken
  9. License


  1. Display nicely your npm scripts
    • List all your scripts automaticaly
    • Switch between scripts output easily
    • Automatically switch between scripts when they starts
    • Display script status like error, success, running, etc...
  2. Built-in watch mecanism
    • Simply define which files to monitor and which scripts to execute
    • Display the watch status of each scripts
  3. Run your scripts visually
    • Execute the wanted script with 1 key press


# using npm
npm install coffeekraken-scripts-stack --save-dev
# using yarn
yarn add coffeekraken-scripts-stack --dev


In order to launch Script Stack in your project, you just need to add this line in your package.json scripts:

  "scripts": {
    "my-cool-script": "something cool...",
    "start": "coffeekraken-scripts-stack my-cool-script [options]"

Then launch your scripts stack with

# using npm
npm start
# or using yarn
yarn start


Here's the available options that the coffeekraken-scripts-stack CLI provide


Disable the auto-switch feature. This will prevent the interface to change the selected script when one of them is started.

coffeekraken-scripts-stack --no-switch


Do not start the watch feature on each scripts. This will prevent the interface to automatically start the watches routines on each watchable ones.

coffeekraken-scripts-stack --no-watch


Do not display any system wide notifications when scripts are completed

coffeekraken-scripts-stack --no-notifications

-c --color

Specify the main color of the interface. Useful to identify a particular project when multiple ones are launched at once.

coffeekraken-scripts-stack -c cyan

The available values of this options are : black blue green yellow cyan white magenta red

-i --ignore

Specify a script to ignore in the interface. Usually it's a good idea to ignore the start one if you use it to lauch the interface like so:

coffeekraken-script-stack -i start -i my-other-script


This interface has a built-in mecanism to watch files and launch a script when these are updated/deleted/added. Simply specify in your package.json a watch property like so:

  "watch": {
    "my-cool-script": {
      "paths": "src/js/**/*.js",
      "options": {}
    "my-another-cool-script": {
      // etc...
  "scripts": {
    "my-cool-script": "webpack",
    "my-another-cool-script": "something cool...",
    "start" : "coffeekraken-scripts-stack -i start"

Each watch objects are a chokidar paths and options arguments. Refer to it for more infos.


By default, scripts stack will display a system wide notification when a script is completed. This behavior can be removed by setting the --no-notifications option.

The notifications have no special icons by default but some special icons are available if your script name matches those rules:

  1. $scriptName === css|fonts|icons|img|js
  2. dist:fonts === css|fonts|icons|img|js
    • The last script name part (separated by :)

Here's some exemples of script names that will benefit of the special icons:

  • img
  • dist:img
  • dist:js
  • something:cool:fonts
  • js
  • etc...


This is an open source project and will ever be! You are more that welcomed to contribute to his development and make it more awesome every day. To do so, you have several possibilities:

  1. Share the love ❤️
  2. Declare issues
  3. Fix issues
  4. Add features
  5. Build web component

Who are Coffeekraken

We try to be some cool guys that build some cool tools to make our (and yours hopefully) every day life better.

More on who we are


The code is available under the MIT license. This mean that you can use, modify, or do whatever you want with it. This mean also that it is shipped to you for free, so don't be a hater and if you find some issues, etc... feel free to contribute instead of sharing your frustrations on social networks like an asshole...