- Notifications
You must be signed in to change notification settings - Fork9
davidklassen/es6-browser-boilerplate
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 ofbabel-library-boilerplate
- ES6 syntax usingBabel compiler.
- Code linting witheslint andjscs.
- Builds for browser usingbrowserify andbabelify.
- Code minification and optimization usingUglifyJS2.
- Unit tests withmocha,chai andsinon.
- Code coverage reports for unit tests usingistanbul andisparta.
- Integration tests withkarma.
- Gulp task runner.
$ git clone git@github.com:DavidKlassen/es6-browser-boilerplate.git$cd es6-browser-boilerplate$ npm run setup
gulp lint
- runs eslint and jscsgulp test:unit
- runs mocha unit testsgulp coverage
- runs unit tests and generates coverage reportgulp test:integration
- runs karma testsgulp test
- runs unit and integration tests and generates code coverage reportgulp browserify
- builds the script for browsergulp compile
- runs uglify and generates minified scriptgulp build
- runs browserify and compilegulp watch
- runs watchify and watches for changes and builds script in backgroundgulp
- default task, runs lint, test, build and compile tasks
About
Boilerplate for the development of third-party SDK's using modern ES6 JavaScript. Uses babel, browserify, mocha, karma and gulp.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.