1.0.0 • Published 7 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:buildto build the style tokens (target folder:./build/styledictionary/tokens/). - Run
yarn styleguidist:devto build Styleguidist and start a server athttp://localhost:6060/.
Production
- Run
yarn styledictionary:buildto build the style tokens (target folder:./build/styledictionary/tokens/). - Run
yarn styleguidist:buildto build Styleguidist (target folder:./build/styleguidist/).
Distributable Component Library
- Run
yarn distto 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
7 years ago