Node.js >= v4 must be installed.
- Running
yarnornpm installin the components's root directory will install everything you need for development.
npm run startwill run a development server with the component's demo app at http://localhost:1190 with hot module reloading.
npm run lintwill lint thesrcanddemo/srcfolders
-
npm testwill run the tests once and produce a coverage report incoverage/. -
npm run test:watchwill run the tests on every change.
-
npm run buildwill build the component for publishing to npm and also bundle the demo app. -
npm run cleanwill delete built resources.
Builds:
- CommonJS build =>
/lib,- ES6 modules build =>
/es- UMD build =>
/umd- Demo build =>
/demo/dist