0.1.1 • Published 3 years ago
thenriquedb-learnstorybook-design-system v0.1.1
Boilerplate to use with Storybook, Sass, TypeScript and JEST
What is insided?
How to use
yarn && yarn storybook
# or npm install && npm run storybook
Scripts
test
: run all jest testsstorybook
: run storybook on6006
portlint
: run the linter on all componentsbuild-storybook
: create the build version of storybookdeploy-storybook:ghpages
: Deploy Sorybook on Github Pages
Absolute paths
TypeScript
// anyComponent.tsx
import { Component } from 'packages/Component';
import sass from 'sass/*';
SCSS
// component.module.scss
@import "sass/*";
@import "sass/config/colors";