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.
In this chapter, we will cover:
How to create an application using only the Loopback.io CLI
How to install eslint, imagemin, and browserify
How to create tasks to lint errors, concatenate JS files, and optimize images
How to deal with SASS import and...