Build and test tools

There are many build and testing tools available for JavaScript. It may seem to be odd that we're building an interpreted language, but we've seen previously that there are minification and combination steps. There are also linting tools that check JavaScript for common errors such as using == when === is the correct operator.

The JavaScript world is a very quick moving one in which tools are rapidly outdated and replaced with something newer. I'm hesitant to mention any tools in particular but there are a few that have proven to be resilient:

  • Grunt: This is a configuration-based task runner for JavaScript. It has a rich plugin infrastructure and runs on Node.js.
  • Gulp: This is a slightly newer task runner that replaced the configuration-based ...

Get Mastering JavaScript Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.