Rollup is used to bundle JavaScript modules and styles (css or scss).
It comes preconfigured with
- Rollup,
- Jest and
- airbnb .jshintrc
write
- Javascript in the
src
folder, - scss in the
styles
folder and - tests in the
test
folder
install the dev dependencies:
npm i
run minification and browsersync (watches file changes):
npm run dev
run tests (incl. coverage):
npm test
PRs welcome!