Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.18 KB

CONTRIBUTING.md

File metadata and controls

35 lines (20 loc) · 1.18 KB

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 demo app 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

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

  • npm run test:coverage-watch will run tests on every change and produce a coverage report

Building

  • npm run build will build the component for publishing to npm (generating \lib, \es, and \umd directories) and also bundle the demo app.

  • npm run clean will delete built resources.

Deploying

  • Commit all changes you want to main before running the following...
  • np will walk you through it
    • You may need to bug @mewelling to turn off branch protection rules
    • You can run this by running npm run release
    • Follow semver when choosing a version