Creation and curation of hight quality react components.
npm install storybook-react-geekshubsCreation and curation of hight quality react components.
``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",
},
...
}
`$3
`js
import Button from "storybook-react-geekshubs/dist/components/Buttons/Button";//...
`Folder structure
`
- dist
- components
- hooks
- layout
- views
- services`$3
`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"
`$3
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