/lib-template

A starting point for writing JavaScript libraries

Primary LanguageJavaScriptMIT LicenseMIT

A simple Lib Template (batteries included)

A starting point for writing JavaScript libraries.

Rollup is used to bundle JavaScript modules and styles (css or scss).

It comes preconfigured with

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!