Node.js >= v4 must be installed.
yarn
will install everything you need for development.yarn bootstrap
will install the dependencies of sub repositories packages and links any cross-dependencies
yarn website
will run a development server with the component's demo app at http://localhost:1190 with hot module reloading.
yarn lint
will lint thesrc
folders of every package.
yarn test
will run the tests for every package and produce a coverage report incoverage/
.
yarn build
will build every package for publishing to npm.yarn clean
will delete built resources.
Builds:
- CommonJS build =>
/lib
,- ES6 modules build =>
/es
- UMD build =>
/dist