A simple boilerplate for building a JavaScript library. It uses ES6 modules and only exposes the necessary functions from within. This is meant as a starting point. Includes a basic counter in the library.
- Clone or Download the repository
- run
yarn install
- run
yarn start
to view the demo page atlocalhost:8031
- Adjust to your liking
yarn start
for development, shows a demo page where you can test your libarayyarn build
for building and readying for productionyarn test
for running all jest testsyarn lint
runs eslint
There are a few other scripts stet up for commits and pushes. Check out package.json and