Git Product home page Git Product logo

jspm-marionette-boilerplate's Introduction

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)

jspm-marionette-boilerplate's People

Contributors

gitter-badger avatar meomix avatar mortonfox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jspm-marionette-boilerplate's Issues

Support cssnano in css.js

The PostCSS plugin cssnano will be used for CSS minification. It has dependency on the 'caniuse' api which does not work well with jspm currently. JSPM will support this plugin much better when v0.17 releases (the next release). So, I will add CSS support then.

Babel should only recompile changed files in watch task.

The current Gulp file's watch task recompiles everything with Babel. This is OK for now because the project is tiny, but will become a performance bottleneck in the future. Should modify the task such that only modified files are recompiled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.