@avlutils/landing-packages
v1.9.3
Published
Shared components, themes, and utils. Currently used in the Aha LP project.
Downloads
26
Readme
landing-packages
Shared components, themes, and utils. Currently used in the Aha LP project.
Development
Setup
- Clone into a local directory
- Run the following:
yarn
to install dependenciesyarn global add yalc
to installyalc
(a local repository manager) globally, if not already installedyalc publish
to publish the package toyalc
yarn start
to automatically create new builds and push toyalc
when source files change
Commit
- Stage the changes you wish to commit (
git add .
will stage all changes) and then runyarn commit
Storybook
- Run
yarn storybook
to fire up Storybook and rebuild when source files change - Run
yarn build-storybook
to create a one-off Storybook build instorybook-static
To use in another project, e.g. EarnAha/web-landing
- In
EarnAha/web-landing
(or any other project), run the following:yarn add @avlutils/landing-packages
to add the package topackage.json
(for production)yalc link @avlutils/landing-packages
to use the WIP version (fromyalc
) during development
Production
Build
- Run the following:
yarn lint
to check everything is OKyarn build
to create a build