poltr-web
Reusable React components for Poltr
Development
Getting Started
To start working on this project, clone the repository and run npm install
.
Making Changes
To make changes to this package, take the following steps:
- Edit code in the
src
directory - Build the new version of the library with
npm run-script build
- Commit your changes to the git repository with a descriptive message
- Update the package version with one of the following:
-
npm version patch
for bug fixes -
npm version minor
for minor changes, e.g. adding a simple prop type -
npm version major
for major changes, e.g. adding a new Poltr web component
-
- Login to npm with
npm login
and thepoltrdev
npm user credentials - Publish the new package with
npm publish