Task managers serves specific tasks in our application. In Chapter 9, Building a Frontend Process with Node.js and NPM, we will explore in depth their utilization in Node.js applications, but for now we focus on the file itself:
Create a file called bower.json and add the following lines of code:
{ "name": "chapter-07", "version": "0.0.1", "ignore": [ "**/.*", "node_modules", "components" ] }
it's pretty simple code, but this file has the same importance as package.json for the server side. Bower will be the frontend task manager. Later in the chapter we will see how to use it. The next one is the Gulp file.
Tip
You can find more information about Gulp file at the official website: http://gulpjs.com/
Create a file called gulpfile.js and add the following code (the code is fully commented and it is self-explanatory):
var gulp = require('gulp'), // Nodemon is Node.js module...