Skip to content

constantant/jstest-pdf

 
 

Repository files navigation

Modern Backbone Starter-kit

Dependency Status Gitter

This project provides a prepared development environment based on Gulp, Backbone, Babel and Webpack. You can use it to quickly bootstrap your web application projects. All the parts of this project template are easily replaceable.

Getting Started

Just clone or fork the repo and start hacking:

$ git clone -o upstream https://github.com/sabarasaba/modern-backbone-starterkit.git AwesomeApp && cd $_
$ npm install -g gulp karma-cli     # Install Gulp task runner and Karma test runner globally
$ npm install                       # Install Node.js components listed in ./package.json

A Note on ES Classes

ES2015 Classes do not work well with Backbone or Marionette at time of writing. See jashkenas/backbone#3560. Use Backbone's built in extend functions to get around this for the time being.

Development

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

$ 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

How to Update

You can always fetch and merge the recent changes from this repo back into your own project:

$ git checkout master
$ git fetch upstream
$ git merge upstream/master
$ npm install

How to Test

Run unit tests and integration tests are powered by Karma, Mocha and Chai:

$ karma start

Learn More

Support

Have feedback, feature request or need help? Create an issue !

Copyright

Licensed under MIT License (MIT). See LICENSE.txt

About

Lightweight starting point for a modern backbone web app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.6%
  • CSS 16.1%
  • HTML 10.3%