/web-ui-components

:clipboard: Simple library with UI Components

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Web UI Components

Storybook

Starting monorepo with React UI components following Atomic Design principles

A template of a monorepo to create a react application.

📚 Table of Contents

Features

⌨️ Commands

Run all the commands from the root folder The monorepo is built in a way where you don't need to change from the root to run any command

Install dependencies

yarn

Start dev server

yarn start

Start production server (SSR)

yarn start:server

Typescript build

yarn build

Typescript watch

yarn watch

Lint all the project

yarn lint

Test all the project

yarn test

Find duplicated dependencies on the project

yarn test:dependencies

Start storybook

yarn storybook

Test E2E

yarn test:e2e

note: you need to start the client

Heroku deploy

On your project do this steps:

Login in your heroku account

heroku login

This will create a project in the heroku account you loggedin previously

heroku create

Can be master or main the next command depending on your repo

git push heroku master

Note: This part requires you to have a heroku account

Typescript references

They are updated automatically as soon as you do yarn

License