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
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.
Builds a minified version of the application in the dist folder.
$ gulp build --type production
Unit and integration tests are powered by Karma, Mocha and Chai:
$ gulp test
Detect errors and potential problems in code with JSHint:
$ gulp lint
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.
starter.marionette is inspired by Ignacio Rivas' Modern Backbone Starter-kit
Licensed under the MIT license.