grunt-backbone-routes

List routes of Backbone.Router.

npm install grunt-backbone-routes
11 downloads in the last week
80 downloads in the last month

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

npm loves you