1.0.0 • Published 5 years ago

voxi-component-library v1.0.0

Weekly downloads
2
License
ISC
Repository
bitbucket
Last release
5 years ago

What is This?

  1. The single source of truth for style tokens (via Style Dictionary)
  2. A living styleguide (via Styleguidist)
  3. A distributable component library (exportable as an NPM package)

Order of Operations

Styleguidist

Development

  1. Run yarn styledictionary:build to build the style tokens (target folder: ./build/styledictionary/tokens/).
  2. Run yarn styleguidist:dev to build Styleguidist and start a server at http://localhost:6060/.

Production

  1. Run yarn styledictionary:build to build the style tokens (target folder: ./build/styledictionary/tokens/).
  2. Run yarn styleguidist:build to build Styleguidist (target folder: ./build/styleguidist/).

Distributable Component Library

  1. 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