0.3.2 • Published 4 years ago

react-approveme-ui v0.3.2

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

react-approveme-ui

React UI Component Library Made by ApproveMe

Installation

Run the following command:

yarn 

Usage

Place everything you want to publish to npm inside src/lib. Outside src/lib (but inside src/), you can create example web pages to test or demonstrate the usage of your components. To start the development server (with entry point src/index.tsx), run

yarn dev

To transpile src/lib, create a build in the dist folder, run

yarn publish:npm

To view the components locally (you must pull from the github repository, not just the npm package), run

yarn storybook
  • You can only run storybook from within the react-approveme-ui repo that you clone from github

If you are a maintainer, you can publish by first running

npm login

Then enter you credentials and run

yarn publish
  • Note that only README.md and the dist folders are published to npm.