This repo enables using the Virtuoso Design System as front-end code (HTML, CSS, & JavaScript).
The documentation for Virtuoso is hosted on GitHub Pages and powered by Storybook.
To run storybook locally:
npm run storybook
Examples can be found in /examples
Releases are handled by Auto. All you have to do is npm run release
and you'll get:
- automatic changelog
- bump npm version
- publish to npm — based on your
npm login
or NPM_TOKEN in.env
- make a GitHub release — based on your GH_TOKEN in
.env
This works with the magic described in auto shipit docs.
A static version of the Storybook docs are generated automatically before we publish releases to npm.
To develop new components make sure to:
- add components to
/lib/components
- add helpers and hooks to
/lib/helpers
- add relevant stories to
/stories
- add tests next to the component
Run locally
npm run storybook
Run tests
npm run test
Copyright © 2020 Virtru Corporation