1.0.0 • Published 5 years ago
voxi-component-library v1.0.0
What is This?
- The single source of truth for style tokens (via Style Dictionary)
- A living styleguide (via Styleguidist)
- A distributable component library (exportable as an NPM package)
Order of Operations
Styleguidist
Development
- Run
yarn styledictionary:build
to build the style tokens (target folder:./build/styledictionary/tokens/
). - Run
yarn styleguidist:dev
to build Styleguidist and start a server athttp://localhost:6060/
.
Production
- Run
yarn styledictionary:build
to build the style tokens (target folder:./build/styledictionary/tokens/
). - Run
yarn styleguidist:build
to build Styleguidist (target folder:./build/styleguidist/
).
Distributable Component Library
- Run
yarn dist
to build the distributable component library (target folder:./dist/
).
Fake Publish
Copies contents of dist/
to ../voxi-holding-pages/node_modules/voxi-component-library
to fake a publish (and subsequent install) to npm.
To do this run gulp publish
.
1.0.0
5 years ago