@callingio/design
v0.0.1-alpha04
Published
CallingIO Design
Downloads
16
Readme
CallingIO 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 "@callingio/design"
import { Search as SearchIcon } from '@callingio/design/lib/icons-material';
Development
# Install
git clone ...repo...
cd callingio-design
yarn install
yarn link
# run storybook
yarn storybook
# run Module bundler (for `import { Button } from "@callingio/design"`)
# - outputs to lib/ directory
yarn build-watch
# in Internal/etc (app)
yarn link "@callingio/design"
Publishing package to NPM
Enables import { Button } from "@callingio/design"
yarn build
npm publish --access public
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