yarn && yarn storybook
# or npm install && npm run storybook
-
test
: run all jest tests -
storybook
: run storybook on6006
port -
lint
: run the linter on all components -
build-storybook
: create the build version of storybook -
deploy-storybook:ghpages
: Deploy Sorybook on Github Pages
TypeScript
// anyComponent.tsx
import { Component } from 'packages/Component';
import sass from 'sass/*';
SCSS
// component.module.scss
@import "sass/*";
@import "sass/config/colors";