storybook-react-geekshubs
Version:
Creation and curation of hight quality react components.
83 lines (60 loc) • 1.75 kB
Markdown
Creation and curation of hight quality react components.
[](https://geekshubsacademy.github.io/storybook-react/)
[](https://www.npmjs.com/package/storybook-react-geekshubs)
[](https://github.com/GeeksHubsAcademy/storybook-react)
```sh
npm i storybook-react-geekshubs@latest --save --save-exact
```
```json
// package.json
{
...
"scripts": {
"pull:components": "npm i storybook-react-geekshubs@latest --save --save-exact",
},
...
}
```
```js
import Button from "storybook-react-geekshubs/dist/components/Buttons/Button";
//...
<Button>Click me</Button>
```
```
- dist
- components
- hooks
- layout
- views
- services
```
```json
"start": "start-storybook -p 6006",
"patch": "npm version patch",
"prebuild": "npm run patch",
"build": "npm run build:lib && npm run build:docs",
"build:docs": "build-storybook -o docs",
"build:lib": "rimraf dist && NODE_ENV=production babel src --out-dir dist",
"predeploy": "npm run build",
"deploy": "git add . && git commit -m 'build' && git push",
"postdeploy": "npm run publi",
"publi": "npm publish",
"prepubli": "npm whoami || npm login"
```
Run `npm run deploy` to do everything: bump patch version, build docs and lib, push to github and publish to npm
- https://ant.design/docs/react/introduce
- https://github.com/brillout/awesome-react-components
- https://github.com/enaqx/awesome-react
- https://github.com/nikgraf/react-hooks
<!-- - https://github.com/0wczar/airframe-react
- https://github.com/rsuite/rsuite -->