generator-backbone-module

A Yeoman generator for distributable Backbone.js modules.

Generator-backbone-module

A generator for Yeoman.

  • Make sure you have yo installed: npm install -g yo
  • Install the generator: npm install -g generator-backbone-module
  • Run: yo backbone-module
  • Generates a backbone module that can be used with CommonJS, AMD, or as a global browser variable.
  • automated jsHint setup
  • automated tests with mocha-phantomjs and requirejs
  • watch / livereload
  • nodemon
  • build process with uglify.js
  • bower.json
  • bowerrc
  • pretty much ready to publish to bower.
  • skeleton for creating an example of your module.
  • basic readme
  • package.json

MIT License