https://github.com/sc5/ds-workshop-backup
https://github.com/sc5/ds-workshop-backup
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sc5/ds-workshop-backup
- Owner: SC5
- Created: 2018-02-12T11:51:10.000Z (over 8 years ago)
- Default Branch: workshop-basic
- Last Pushed: 2018-02-12T11:52:35.000Z (over 8 years ago)
- Last Synced: 2025-02-22T20:48:20.396Z (over 1 year ago)
- Language: JavaScript
- Size: 11.6 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```