INF310: Modern JS, Fall 2017 > Development Tools > Task runners
Task runners
Common Tasks
  • transpiling
  • minifying
  • bundling
  • scaffolding
  • preparing resources and assets
Popular libraries
Gulp
Webpack
npm scripts

In your package.json:

  "scripts": {
    "build": "webpack && gulp",
    "test": "eslint && mocha"
  }

Running scripts:

    npm run # prints a list of all available scripts
    npm run build
    npm run test