Node.js >= v8 must be installed.
- 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:3000 with hot module reloading. -
npm run storybookwill run storybook stories at http://localhost:9001.
-
npm testwill run the tests once. -
npm run test:coveragewill run the tests 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.
npm run storybook:buildfollowed bynpm run storybook:publish