Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abiee/es6-marionette
Boilerplate project built with ECMAScript 6 support for Backbone.Marionette based projects. Includes Browserify, Gulp and Karma
https://github.com/abiee/es6-marionette
Last synced: 3 months ago
JSON representation
Boilerplate project built with ECMAScript 6 support for Backbone.Marionette based projects. Includes Browserify, Gulp and Karma
- Host: GitHub
- URL: https://github.com/abiee/es6-marionette
- Owner: abiee
- Created: 2015-01-16T03:23:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-14T22:07:57.000Z (over 7 years ago)
- Last Synced: 2024-01-23T04:19:19.333Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 62
- Watchers: 7
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- awesome-marionette - ES6 Marionette Project
README
ES6 Marionette project
======================
Looking for boilerplate projects to start working with ECMAScript 6 I didn't found a project that fit my requirements, so I take the best part of other projects and put all together here. This project can be used to bootstrap new projects with ECMAScript 6 support.This is an implementation of [Clean ES6 Project](https://github.com/abiee/clean-es6-project) integrating Backbone.Marionette to the stack.
What's inside
----------------
Batteries included:
- Gulp
- Browserify
- Babelify
- Bootstrap
- jQuery
- Underscore
- Backbone
- Marionette
- Handlebars
- BrowserSync
- Karma
- Mocha, Chai, SinonSetup
-----
Clone the repository and install the dependencies.$ git clone https://github.com/abiee/es6-marionette.git my-project
$ cd my-project
$ npm install
$ gulp serveDo not forget to install globally gulp if not installed yet.
Build
------
If you want to build the project run.$ gulp build
It will compile the project and put the result under `dist` directory. You can run the compiled project also.
$ gulp serve:dist
Testing
---------
Two options exists to run tests, the first one is for development process and aims to practice Test Driven Development.$ gulp tdd
It will open a Google Chrome instance and run all tests on it, when a file is updated tests will be run again. You can see the rests as a notification or in the console.
The other option to run tests is for Continuous Integration purposes, it will run all the tests against PanthomJS and output a jUnit format file for analysis.
$ gulp testYou can get the results at `.tmp/test-results.xml`.
Contribution
---------------
If you have ideas or find an error feel free to submit a PR.Licence
-------
Licensed under the MIT license.