# Bird's Eye lib

This component library directory contains all the react components for Hailer Bird's Eye! Developing these componets happens [here](https://github.com/KvanttoriOy/birds-eye/tree/master/birds-eye-components), only copy your changes in lib from there to src folder here!

For packaging, we use **TSDX**, more about it [here](./TSDX.md)!

## Packaging

By running npm run prepare, a build version, which can be distributed trough npm or any other package hosting service, will be generated in dist folder.

For testing out the package locally, using yalc is a good choice:

```bash
npm i -g yalc

yalc publish --private # here
yalc add birds-eye-components # where ever you are testing this out

# to update
yalc publish --private # here
yalc update birds-eye-components # where ever you are testing this out

# to remove
yalc remove birds-eye-components # where ever you are testing this out

# To upload to public npm registry
npm login
npm publish --access public
```
