- Clone the application
- Install the packages
npm install
- To Start the storybook
npm run storybook
- Make the changes and export them in index.js
- change the application version in package.json file
- Make the build using rollup.js the bundler that helps to make the minified version of the application and distribute the reactjs application as a distributable package
npm run build-lib
- Login with npm in your command prompt
npm add user
- Add the GitHub token and npm token in the .env file
- publish the package
npm publish
- install the package.
npm install ak_storybook_poc
- import the package in the js file
import { Button } from 'ak_storybook_poc'
- You can customise the component with the custom css