ES6 + Babel + Grunt starter kit by Anzor Bashkhaz
This starter-kit includes everything you need to write ES6 code, along with tests, documentation, and live reloading.
Requirements
- NPM
- Grunt
npm install -g grunt-cli
Install
npm install
Tasks
grunt dev will compile ES6 code, open demo app in browser, and refresh on changes.
grunt dist will compile, minify, extract sourcemaps and generate documentaion
grunt karma:tdd compile, open browser and wait for code changes (test driven development)
grunt karma:ci compile, generate coverage for Jenkins