grunt-backbone-routes

List routes of Backbone.Router.

grunt-backbone-routes

List routes of Backbone.Router.

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

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