1.0.45 • Published 7 years ago

cao-sandbox v1.0.45

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Caring Bridge Component Library

Compilation of Reusable Components

Getting Started

Obtain the publishing token if you need to publish updates to npm

export NPM_TOKEN="PROVIDED_NPM_TOKEN"

Initial Run

If you are not using yarn install

npm install -g yarn

Get the latest

yarn install

Update your test snapshots

yarn test -u

Load the Storybook

yarn storybook

Useful Extensions

  • Chrome Debug - Microsoft
  • ESLint - Dirk Baeumer
  • TSLint - egamma
  • Typescript React Code Snippets - infeng
  • npm intellisense - Christian Kohler
  • npm - egamma

Debuging

This should allow for breakpoints to set when developing components.

1) Intall Chrome Debug Extension

>  Chrome Debug - Microsoft

2) Select Debug -> Start Debugging from main menu.

This will create a new file if not present under the `.vscode` folder called `launch.json`.

3) Configure Chome Debug

Usually the port used for storyboard is `9001`
Fix webRoot to use `${workspaceFolder}/src`.

Your configure should look similar to this:


    {
        "type": "chrome",
        "request": "launch",
        "name": "Launch Chrome against localhost",
        "url": "http://localhost:9001",
        "webRoot": "${workspaceFolder}/src"
    }

Install Component Library

yarn add cb-component-library react react-dom @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/react-fontawesome

Navigation

  • TaskBar
1.0.45

7 years ago

1.0.43

7 years ago

1.0.42

7 years ago

1.0.41

7 years ago

1.0.40

7 years ago

1.0.39

7 years ago

1.0.38

7 years ago

1.0.37

7 years ago

1.0.36

7 years ago

1.0.35

7 years ago

1.0.34

7 years ago

1.0.33

7 years ago

1.0.32

7 years ago

1.0.31

7 years ago

1.0.30

7 years ago

1.0.29

7 years ago

1.0.28

7 years ago

1.0.27

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.24

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.7

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago