The seed project is based on Yeoman web app generator, with the following modifications:
- Support ES6 style
import/export
- Export to ES5 so that the app runs in today's browsers
- Add d3 and underscoreJS as dependencies
npm i && bower i
- To use npm packages, for example:
First runnpm i --save underscore
then use it anywhere in your ES6 code:import * as _ from 'underscore';
gulp
to buildgulp clean
to clean the production foldergulp serve
to lunch a web server and watchgulp && gulp serve:dist
to serve for productiongulp test
to run tests