storybook-react-geekshubs

0.0.34 • Public • Published

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

Package Sidebar

Install

npm i storybook-react-geekshubs

Weekly Downloads

3

Version

0.0.34

License

ISC

Unpacked Size

1.14 MB

Total Files

272

Last publish

Collaborators

  • jupegarnica