Beautifully crafted user interface components of Trioxis
All components are tested, you can run tests with
yarn test --watch
Components can be evaluated visually using React Storybook
yarn run storybook
The package can be built with (useful for yarn link
)
# once off
yarn prepare
# or, to watch
yarn watch "yarn prepare" ./src
This package is published from ./lib
to maintain a flat file structure. See this post for details.
We must, therefore, cd to ./lib
and then link from there.
yarn prepare &&\
cd ./lib &&\
yarn link &&\
cd -
Then in another project
yarn link @trioxis/ui
The package will be built into the ./lib
directory and published from there. Simply use:
yarn dist