Skip to content

A demo project highlighting usage of JSPM w/ Backbone.Marionette + CSS Modules

License

Notifications You must be signed in to change notification settings

MeoMix/jspm-marionette-boilerplate

Repository files navigation

JSPM Marionette Boilerplate

JSPM + Backbone/Marionette + CSS Modules

Overview

This is a bare bones, example application which highlights the usage of Marionette alongside JSPM. A full list of core libraries can be found below.

Development

Start by cloning the development branch. All PRs should be submitted to the development branch.

Dependencies

You will need to have [Node](https://nodejs.org/), [Gulp](http://gulpjs.com/), [jspm](http://jspm.io/), and [Git](https://git-scm.com/) installed on your system. After installing Node, navigate using a terminal to the directory in which you cloned this repository. Then, perform the following command to install dependencies:
npm install -g gulp
npm install -g jspm
npm install

You may encounter an error when attempting to install node-gyp which is a dependency of Karma. Details on how to resolve dependency issues for node-gyp can be found on StackOverflow

Compiling code

Once dependencies have been successfully installed, simply run gulp from the root directory. This will compile all source files into an intermediary directory, /compiled, and open your browser to that directory.

Builds can be created via gulp build.

Testing

Tests will automatically run on TravisCI after every commit to GitHub. Build status is reflected at the top of this ReadMe. You may run tests locally through Karma via the command line: `gulp test`

Libraries

Core

* [jQuery](http://jquery.com/) * [Backbone](http://backbonejs.org/) * [Marionette](http://marionettejs.com) * [lodash](http://lodash.com/) * [jspm](http://jspm.io//) * [SystemJS](https://github.com/systemjs/systemjs) * [Babel](https://babeljs.io/) * [Gulp](http://gulpjs.com/) * [Handlebars](http://handlebarsjs.com/) * [CSSModules](http://glenmaddern.com/articles/css-modules)

Testing

* [Karma](http://karma-runner.github.io/) * [Mocha](http://mochajs.org/) * [Chai](http://chaijs.com/) * [Sinon](http://sinonjs.org/)

Authors

* [MeoMix](https://github.com/MeoMix)

About

A demo project highlighting usage of JSPM w/ Backbone.Marionette + CSS Modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published