node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

grunt-backbone-routes

grunt-backbone-routes

List routes of Backbone.Router.

This task searches files specified via backboneRoutes.files and output routes of each Backbone.Router.

Sample gruntfile

module.exports = function(grunt) {
  grunt.initConfig({
    backboneRoutes: {
      files: "example/*-router.js"
    }
  });
  grunt.loadNpmTasks('grunt-backbone-routes');

screenshot