# Criya APP

## Development

the development environment will watch the files changes and build the package

`yarn install`
`yarn start`

### Link package

For development, a package can be linked into another project. This is often useful to test out new features or when trying to debug an issue in a package that is being use in another project

run the following command un the app-theme folder:
`yarn link`

go to the project that use the @criya/app-theme package and run the following command:
`yarn link @criya/app-theme`

### Storybook

You can see the components library and its use in storybook.

`yarn storybook`

open `http://localhost:6006/` in your browser

## Publish Package

the following command will build and publish the package:

`yarn build`
`npm publish --access public`

- Remember to bump the package version before publish

### Add NPM User

to publish the package you will need to add an npm user, to do so run the following command:

`npm adduser`

- Ask for the user and password to the engineering team
