@voiplabscom/design
TypeScript icon, indicating that this package has built-in type declarations

0.0.23 • Public • Published

VoipLabs Design System

We use Storybook for the website of the design system.

We use Rollup (instead of webpack) for building the modules/library

Usage

import { Button } from "@voiplabscom/design"
import { Search as SearchIcon } from '@voiplabscom/design/lib/icons-material';

Development

Install and link:

git clone git@github.com:voiplabscom/voiplabscom-design.git
cd voiplabscom-design
yarn install
yarn link

Run in development:

# run storybook for viewing all components
yarn storybook

# run Module bundler (for `import { Button } from "@voiplabscom/design"`)
# - outputs to lib/ directory
yarn build-watch

# in Internal/etc (app) 
yarn link "@voiplabscom/design"

Publishing package to NPM

Enables import { Button } from "@voiplabscom/design"

Creating a new Release on GitHub will trigger an NPM Publish via .github/workflows/main.yml

Publishing Storybook (to vercel)

# Test locally and Build storybook 
yarn storybook
yarn build-storybook

Push the main branch to github, and the storybook-static/ directory will be built and used

Readme

Keywords

none

Package Sidebar

Install

npm i @voiplabscom/design

Weekly Downloads

0

Version

0.0.23

License

MIT

Unpacked Size

45.2 MB

Total Files

22

Last publish

Collaborators

  • scottraywilson
  • nicholasareed