0.0.34 • Published 5 years ago

storybook-react-geekshubs v0.0.34

Weekly downloads
3
License
ISC
Repository
-
Last release
5 years ago

STORYBOOK REACT GEEKSHUBS

Creation and curation of hight quality react components.

Links

Web

Npm

Github

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

5 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28

6 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.13

6 years ago

0.0.9

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.0

6 years ago