0.0.34 • Published 4 years ago
storybook-react-geekshubs v0.0.34
STORYBOOK REACT GEEKSHUBS
Creation and curation of hight quality react components.
Links
Usage
Installation:
npm i storybook-react-geekshubs@latest --save --save-exact
As npm script:
// package.json
{
...
"scripts": {
"pull:components": "npm i storybook-react-geekshubs@latest --save --save-exact",
},
...
}
Import individually from /dist;
import Button from "storybook-react-geekshubs/dist/components/Buttons/Button";
//...
<Button>Click me</Button>
Folder structure
- dist
- components
- hooks
- layout
- views
- services
Scripts
"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"
Deployment
Run npm run deploy
to do everything: bump patch version, build docs and lib, push to github and publish to npm
Sources
0.0.34
4 years ago
0.0.33
4 years ago
0.0.32
4 years ago
0.0.31
5 years ago
0.0.30
5 years ago
0.0.29
5 years ago
0.0.28
5 years ago
0.0.27
5 years ago
0.0.26
5 years ago
0.0.25
5 years ago
0.0.24
5 years ago
0.0.20
5 years ago
0.0.19
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.13
5 years ago
0.0.9
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.0
5 years ago