spiria-uikit
v0.1.0
Published
This project was bootstrapped with [TSDX](https://tsdx.io).
Downloads
4
Readme
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
- Install Node Modules by running:
yarn install - Open the project directory in two separate Terminal windows
- In one window run:
yarn start - In the other window run:
yarn storybook
Steps to Run Locally for Development
- Install Node Modules by running:
yarn install - Open the project directory in a Terminal window
- In the Terminal window run:
yarn dev
Local Development Commands Description
|Command|Description|
|---|---|
|yarn start| TSDX scaffolds your new library inside /src. |
|yarn storybook| This 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 build| This builds to /dist. |
|yarn build-storybook| Compiles and generates static version of Storybook to /storybook-static |
|yarn test| Run Jest test suite. |
|yarn lint| Run source code linting. |
|yarn prepare| This builds to /dist. |
|yarn size| Calculates the real cost of your library using size-limit. |
|yarn analyze| Visualize size |
|yarn typed-scss-modules| Generate TypeScript definitions (.d.ts) files for CSS Modules that are written in SCSS, and continue to watch for changes |
|yarn dev| Run application in dev mode |
|yarn generate| Runs 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.
