Setting up our build system

Now that we have learned the basics of Node.js and NPM, let's actually build a build system. We will want to point our Terminal to our project's root directory, and then we will want to install our build system (also called Task Runner).

About Grunt.js and Gulp.js

Node.js build systems fall within two major build system libraries: Grunt and Gulp. Grunt is, in many cases, the default build system for Node.js projects.

Grunt Task Runner

Grunt was designed originally for automating tasks in JavaScript and, web development and due to its availability, many developers have created plugins; you can view them in Grunt's plugin repository shown in the following screenshot:

About Gulp

Gulp is another build system for Node.js; the ...

Get Mastering JavaScript High Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.