React UI Component Library Made by ApproveMe
Run the following command:
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
To transpile src/lib, create a build in the dist folder, run
To view the components locally (you must pull from the github repository, not just the npm package), run
- 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
Then enter you credentials and run
- Note that only README.md and the dist folders are published to npm.