gziolo / es6-browser-boilerplate

A boilerplate to write JavaScript code in ES6 and run in the browser now using RequireJS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ES6 browser boilerplate Build Status

A boilerplate to write JavaScript code in ES6 and run in the browser now using RequireJS.

Features

Requirements

  • Node 0.12.x or io.js 1.x
  • Windows only: remember to set Git and Node path in environment variable %PATH%.
  • npm install: run npm install
  • grunt-cli: run npm install -g grunt-cli if needed.
  • bower: run bower install if needed

Grunt tasks

  • grunt dependencies - helps to update package.json file
  • grunt spec - lints the code and runs unit tests
  • grunt build - lints the code, runs unit tests, creates dist/ folder with transformed ES5 code, copies index.html
  • grunt - runs grunt build

Useful Links

ES6

Articles

Books

Tools
Examples

More resources to learn ECMAScript 6!

Grunt build tasks

About

A boilerplate to write JavaScript code in ES6 and run in the browser now using RequireJS.

License:MIT License


Languages

Language:JavaScript 87.3%Language:HTML 12.7%