. ├── src # source code │ ├── foo.js # function implementation/interface │ ├── index.js # library interface ├── tests # tests │ ├── foo.test.js # test implementation of foo
Node.js >= 6 must be installed.
npm installin the component's root directory will install everything you need for development.
npm testwill run the tests once.
npm run test:coveragewill run the tests and produce a coverage report in
npm run test:watchwill run the tests on every change.
srcis tested, demo is not tested
npm run buildwill build the component for publishing to npm and also bundle the demo app.
npm run cleanwill delete built resources.
npm startwill run a documentation server at http://localhost:3000 with hot module reloading.