generator-backbone-react editorconfig travis-ci npm

Yeoman generator for Backbone.js

Backbone.js generator Build Status

Maintainer: Revath S Kumar

A Backbone generator for Yeoman that provides a functional boilerplate Backbone app out of the box. You also get access to a number of sub-generators which can be used to easily create individual models, views, collections and so on.

Optional RequireJS (AMD) support has recently been added as a prompt when using the generator on new projects.

Usage

Install: npm install -g generator-backbone

Make a new directory and cd into it:

mkdir my-new-project && cd $_

Run yo backbone, optionally passing an app name:

yo backbone [app-name]

Generators

Available generators:

  • backbone:model
  • backbone:view
  • backbone:collection
  • backbone:router
  • backbone:all

Options

  • --skip-install

Skips the automatic execution of bower and npm after scaffolding has finished.

  • --test-framework=[framework]

Defaults to mocha. Can be switched for another supported testing framework like jasmine.

  • --template-framework=[framework]

Defaults to lodash templating with grunt-contrib-jst. handlebars and mustache are also supported.

Contribute

See the contributing docs

When submitting an issue, please follow the guidelines. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.

When submitting a bugfix, write a test that exposes the bug and fails before applying your fix. Submit the test alongside the fix.

When submitting a new feature, add tests that cover the feature.

License

BSD license

Related Repositories

generator-react-app

generator-react-app

Yeoman generator to create React application (with Express and Mongoose) + Backbone + Bootstrap ...

Backbone-React-Browserify-Gulp

Backbone-React-Browserify-Gulp

A webapp generator based on my frontend code from OKPitch ...

generator-backbone-react

generator-backbone-react

Yeoman generator for Backbone.js ...


Top Contributors

revathskumar sindresorhus passy addyosmani alefteris zeripath stephenplusplus mklabs tombooth sleeper blakeblackshear eyelock davidsmejia kevva lenarakhmadeev nitinhayaran KingScooty

Releases

-   v0.1.4 zip tar
-   v0.1.3 zip tar
-   v0.1.2 zip tar
-   v0.1.1 zip tar
-   v0.1.0 zip tar