Package Exports
- @aftershootco/pegasus
- @aftershootco/pegasus/dist/index.cjs.js
- @aftershootco/pegasus/dist/index.esm.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aftershootco/pegasus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme

Pegasus
Pegasus is Aftershoot's inbuilt library for using different react components with custom configurations in their Desktop app.How to Build?
- Get the lastest pull
git pull
- Install all the dependencies
yarn
- Now build it.
yarn build
How to Publish?
To publish the library, follow the below steps -
- Push all your changes on the
main
branch. - Update the version in the
package.json
file. - Login to the npm. This step will require you to enter your npm
username
,password
,email
, andOTP
sent to the email.
npm login
- Build with the following the command (Make sure there are no errors during build)
yarn build
- Now run the following command to publish your package to the npm.
npm publish --access=public
How to Run Storybook?
- Take the latest pull
git pull
- Run the following command -
yarn storybook