To create distribution file (both ES module and UMD)
npm run buildTo create and read the documentation of latest version
npm run doc:openTo run Lint validator (ESlint):
npm run lintTo test manually the library, run a development server:
npm run startIt serves files from example/ folder.
To run test suites in single run mode:
npm run testTo run test suites in watch mode:
npm run test:watchTo open coverage files on the browser:
npm run test:openTo 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