It could be very important for the developer to create a Backbone extension that will be shared with the rest of the world or even re-used in future projects. In this recipe, we are going to learn how to create our own extension using Grunt, and we will upload it on GitHub.
Gruntfile.js file and are triggered from a console. There are many different packages for Grunt that are available as npm extensions. We are going to use one of them, named grunt-init, for scaffolding the Backbone extension from a template.
Our extension ...