Name | Purpose | Useful Options |
---|---|---|
yarn start |
Start storybook that points to /src . Useful for developers of this component. |
|
yarn lint |
Lints the application to be according to quality standards (eslint) and formatting standards (prettier). |
--fix : fix fixable problems |
yarn test |
Runs local tests with jest. |
--watch : enable watch mode |
yarn build |
Builds application with rollup. |
The yarn start
command will start storybook
in port 6006
. When you make changes in src
, they'll be automatically updated to storybook
.
The storybook
in this project is configured to build with a setup that mimicks CRA.
THis project uses rollup
for its final bundle.