- Running
npm installin the component's root directory will install everything you need for development.
npm startwill run a development server with the component's demo app at http://localhost:9001 with hot module reloading.
npm testwill run the tests and produce a coverage report incoverage/.
npm run jsdocwill build the documentation for the component injsdoc/.
npm run eslintwill run linting against thesrcandtestfolders.
-
npm run buildwill build the component for publishing to npm. -
npm run demowill build the component for publishing to npm and also build the demo app indemo/.
npm run prepublishOnlywill build the component for publishing to npm along with the documention for the component injsdoc/.
npm version patchgit push --tags
npm publish is handled by travis-ci when a tag is created.