To create distribution file (both ES module and UMD)
npm run build
To create and read the documentation of latest version
npm run doc:open
To run Lint validator (ESlint):
npm run lint
To test manually the library, run a development server:
npm run start
It serves files from example/ folder.
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
To create a new version:
-
update CHANGELOG file
-
create a new version
npm version [<newversion> | major | minor | patch]
# example: npm version minor
- publish new version
npm publish