/library-template

Library config (using Rollup) with the following setup: Babel (7.x), Jest, Flow (0.75), ESLint and Prettier

Primary LanguageJavaScript

library-template

Setup for building JavaScript libraries (using Rollup) with the following: Babel (7.x), Jest, Flow (0.75), ESLint and Prettier.

Setup

yarn

Then do start and watch for changes

yarn run start

To build once

yarn run build

Running tests

To run tests once

yarn run test

To run tests and watch for changes

yarn run test:watch