Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

payapps/ui

Repository files navigation

ui

Payapps UI

NPM JavaScript Style Guide

Getting Started

Perform the obvious install

npm install

In the root of the project run

  npm start

This will build the UI to common and es using rollup with a watch flag.

You can test the package in the example directory which is a create-react-app instance that imports the UI library locally. Run this example app with

  npm start

Better yet, you can develop in the Storybook. Run this using

  npm run storybook

To deploy the storybook to GitHub pages simply run

  npm run deploy-storybook

This will build a static Storybook to /storybook-static and deploy to GitHub pages

Publish to NPM

You'll likely need to bump the npm version number.

  npm version patch

Then you can run

  npm publish

Be sure to mash refresh continuously for 30 seconds to see your changes Mash refresh

License

M