Payapps UI
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
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
M