All notes
GoodPackages

concurrently

npmjs: concurrently.

Problem to solve: run multiple commands concurrently, and quit altogether.


npm install concurrently --save

concurrently "command1 arg" "command2 arg"

# -k, --kill-others: all commands are killed if one dies.
# -r, --raw: output only raw output of processes, disables prettifying and concurrently coloring.

better-npm-run

npmjs.

cross-env

github.com.

Problem to solve: Most Windows command prompts will choke when you set environment variables with NODE_ENV=production like that.


npm install --save-dev cross-env

{
  "scripts": {
    "build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js"
  }
}

requirejs

RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node.