Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (16 loc) · 912 Bytes

CONTRIBUTING.md

File metadata and controls

29 lines (16 loc) · 912 Bytes

Prerequisites

Node.js >= 6 must be installed.

Installation

  • Running npm install in the component's root directory will install everything you need for development.

Demo Development Server

  • npm start will run a development server with the component's loaded in storybook at http://localhost:3000 with hot module reloading.

Running Tests

  • npm test will run the tests once.

  • npm run test:coverage will run the tests and produce a coverage report in coverage/.

  • npm run test:watch will run the tests on every change.

Building

  • npm run build will build the component for publishing to npm and also bundle the demo app.

  • npm run clean will delete built resources.

Publishing

  • npm publish --otp=[6-digit 2FA code] will publish repo to npm, provided your npm account has been added to the project as a maintainer.