GitXplorerGitXplorer
t

storybook-sass-typescript-boilerplate

public
6 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
633cdf36e65ffd8c46e4be567b26012ae406445a

add @storybook/storybook-deployer

tthenriquedb committed 4 years ago
Unverified
1c5337b859854f4c2cee2eeb4592337449eed80e

config absolute paths

tthenriquedb committed 4 years ago
Unverified
242c523760488b0f2d632ee9913a07ea1f6d51d2

configure custom fonts

tthenriquedb committed 4 years ago
Unverified
cad72b25d9851ff00633bd57684d307091f16bee

button component tests

tthenriquedb committed 4 years ago
Unverified
55427820e5e47da65e90c73faca8ff158d918104

config css modules with sass

tthenriquedb committed 4 years ago
Unverified
29f861e35a4bb057c7ec733f97167e1410a8c23b

sass configuration

tthenriquedb committed 4 years ago

README

The README file for this repository.

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 tests
  • storybook: run storybook on 6006 port
  • lint: run the linter on all components
  • build-storybook: create the build version of storybook
  • deploy-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";

Read more