Marionette/Backbone starter including ES6, Lodash, Handlebars, Webpack, Gulp, Karma
CSS JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.babelrc
.gitignore
.jshintrc
README.md
gulpfile.js
karma.conf.js
package.json
webpack.config.js

README.md

Marionette/Backbone Starter

Setup

Clone the repository and install the dependencies.

$ git clone https://github.com/rentlio/starter.marionette.git my-app && cd $_
$ npm install -g gulp karma-cli
$ npm install

Develop

Builds the application and starts a webserver with livereload. By default the webserver starts at port 9000.

$ gulp

By default, it builds in debug mode.

  • If you need to build in release mode, add --type production flag.
  • You can define a port with --port 3333 flag.

Build

Builds a minified version of the application in the dist folder.

$ gulp build --type production

Test

Unit and integration tests are powered by Karma, Mocha and Chai:

$ gulp test

Detect errors and potential problems in code with JSHint:

$ gulp lint

Components

Contribution

Ready to submit a fix or a feature? Submit a pull request! And please:

  • If code changes, run the tests and make sure everything still works.
  • Write new tests for new functionality.
  • Maintain the existing style.

Credits

starter.marionette is inspired by Ignacio Rivas' Modern Backbone Starter-kit

Contact

Licence

Licensed under the MIT license.