Node.js >= 12.13.0 must be installed.
- Running
npm install
in the component's root directory will install everything you need for development.
npm run storybook
will run Storybook.
npm start
will run a development server with the component's demo app at http://localhost:8080 with hot module reloading.
npm test:cov
will run the unit tests once and produce a coverage report incoverage/
.
npm run e2e:ci
will run the Cypress end to end tests against Storybook. Alternatively, you can runnpm run storybook
followed bycypress open
to run the Cypress tests interactively in the Cypress app.
npm run build
will build the component for publishing to npm.