Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 999 Bytes

CONTRIBUTING.md

File metadata and controls

34 lines (18 loc) · 999 Bytes

Prerequisites

Node.js >= v8 must be installed.

Installation

  • Running npm install in the components'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 in coverage/.

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

Running E2E tests

  • npm test:e2e

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 new version

  • npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git] -m "Upgrade to %s for reasons"

  • git push --tags Push to git with tags