Chapter 9.  Building a Frontend Process with Node.js and NPM

As we mentioned before in previous chapters, we can use the facilities from Node Package Manager (NPM) to replace Gulp and the Grunt task manager, which are the most popular tools for dealing with frontend dependencies. We can combine both tools, but in this chapter we will explore only NPM and some commands that will help us create our application.

We will create building tasks to lint, concatenate, and minify Javascript files, optimize images, compile SASS stylesheets, and deploy the application to a server in the cloud, by just using the command line. Furthermore, for this example we will use the Loopback.io framework to create the application example with MongoDB as the database. ...

Get Node.js 6.x Blueprints 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.