- Rollup creates a bundle which should be included into the site.
- Rollup Bubel compiles ES2015 with Rollup.
- Karma runner launches tests in different browsers to prove that the client works fine.
- Chai is an assertion lib for tests.
$ npm install
$ npm start
This command launches Rollup in the development mode (all scripts get recompiled once changes are saved).
$ npm test
It will launch the Chrome and Firefox browsers and keep them running to re-launch tests when the code gets changed.
$ npm run-script build
It builds the
dist/sirko.js script which should be included into the site.
The library is distributed under the GPLv3 license.