An open API service indexing awesome lists of open source software.

https://github.com/sc5/ds-workshop-team-0


https://github.com/sc5/ds-workshop-team-0

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

          

# Start you own library

```
git clone https://github.com/SC5/ds-workshop-storybook-boilerplate.git
cd ds-workshop-storybook-boilerplate
rm -rf .git
git init
```

# Development
## Run Storybook

```
npm install
npm start
```

## Tools

### Adding a new component

You can add components by using this command
```
npm run create-component MyComponent
```
It will create a new folder for the component and basic files for styling and documenting.

## Build the library

```
npm run build
```

## Try out at the demo page

```
npm run demo
```

Edit sources in `demo` folder.

# Build and publish documentation

You can build Storybook documentation as a static website and publish to GH pages.

```
npm run build-storybook
npm run deploy-storybook
```