Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 899 Bytes

CONTRIBUTING.md

File metadata and controls

74 lines (47 loc) · 899 Bytes

CONTRIBUTING

Build

To create distribution file (both ES module and UMD)

npm run build

Documentation

To create and read the documentation of latest version

npm run doc:open

Lint

To run Lint validator (ESlint):

npm run lint

Try the library

To test manually the library, run a development server:

npm run start

It serves files from example/ folder.

Test

To run test suites in single run mode:

npm run test

To run test suites in watch mode:

npm run test:watch

To open coverage files on the browser:

npm run test:open

Create and publish a new version

To create a new version:

  1. update CHANGELOG file

  2. create a new version

npm version [<newversion> | major | minor | patch]
# example: npm version minor
  1. publish new version
npm publish