Start your next react component library/package just by cloning the repo
React, TypeScript, Storybook, - that's all you need
Comes with storybook docs and typescript buidling/transpiling
-
Clone this repo using
git clone --depth=1 https://github.com/the-boilerplates/react-typescript-storybook -
Run
npm installto install all the required dependencies. -
Run
npm run docsfor storybook playground, andnpm run buildto build the app.
| Folder | Content |
|---|---|
| .storybook | storybook config files |
| src | source directory - components |
| script | usage |
|---|---|
build |
build the ES5 and ES6 transpiled code |
docs |
runs the storybook application |
docs:build |
export the storybook into a static app |
start |
start the built app |