Boilerplate for the development of third-party SDK's using modern ES6 JavaScript. Uses babel, browserify, mocha, karma and gulp.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
examples
src
tests
.eslintrc
.gitignore
.jscsrc
README.md
build.js
gulpfile.js
package.json

README.md

ES6 SDK browser boilerplate

This boilerplate is intended for the development of third-party SDK's and browser applications using modern ES6 JavaScript. This is a simplified and enhanced version of babel-library-boilerplate

Features

Installation Prerequisites

Installation

$ git clone git@github.com:DavidKlassen/es6-browser-boilerplate.git
$ cd es6-browser-boilerplate
$ npm run setup

Available gulp tasks

  • gulp lint - runs eslint and jscs
  • gulp test:unit - runs mocha unit tests
  • gulp coverage - runs unit tests and generates coverage report
  • gulp test:integration - runs karma tests
  • gulp test - runs unit and integration tests and generates code coverage report
  • gulp browserify - builds the script for browser
  • gulp compile - runs uglify and generates minified script
  • gulp build - runs browserify and compile
  • gulp watch - runs watchify and watches for changes and builds script in background
  • gulp - default task, runs lint, test, build and compile tasks