0.1.0 • Published 2 years ago

spiria-uikit v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

UI Kit Storybook

This project was bootstrapped with TSDX.

Requirements

System Requirements

  • Nodejs 16+
  • Yarn 1.22.0+

Useful Docs

Storybook

TSDX


Steps to Run Locally

1) Install Node Modules by running: yarn install 2) Open the project directory in two separate Terminal windows 3) In one window run: yarn start 4) In the other window run: yarn storybook

Steps to Run Locally for Development

1) Install Node Modules by running: yarn install 2) Open the project directory in a Terminal window 3) In the Terminal window run: yarn dev


Local Development Commands Description

CommandDescription
yarn startTSDX scaffolds your new library inside /src.
yarn storybookThis builds to /dist and runs the project in watch mode on localhost:6006 so any edits you save inside src causes a rebuild to /dist.
yarn buildThis builds to /dist.
yarn build-storybookCompiles and generates static version of Storybook to /storybook-static
yarn testRun Jest test suite.
yarn lintRun source code linting.
yarn prepareThis builds to /dist.
yarn sizeCalculates the real cost of your library using size-limit.
yarn analyzeVisualize size
yarn typed-scss-modulesGenerate TypeScript definitions (.d.ts) files for CSS Modules that are written in SCSS, and continue to watch for changes
yarn devRun application in dev mode
yarn generateRuns scaffolding to create default versions of files needed to create a new component

Rollup

TSDX uses Rollup as a bundler and generates multiple rollup configs for various module formats and build settings. See Optimizations for details.