Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@mightifier/mighty-kit

mightifier143MIT1.3.6

Set of common components and utility methods for Mightifier apps

readme

Mighty Kit !

Installation

From npm:

npm install --save @mightifier/mighty-kit

or from yarn:

yarn add @mightifier/mighty-kit

Import react components:

import { MightyProvider } from "@mightifier/mighty-kit";

Import specific utils:

import { chunk } from "@mightifier/mighty-kit/utils/array";
import { createAsyncAction } from "@mightifier/mighty-kit/utils/redux";
import { post, get, put } from "@mightifier/mighty-kit/utils/http";

or just all of them at once:

import {
  chunk,
  createAsyncAction,
  post,
  get,
  put
} from "@mightifier/mighty-kit/utils";

Import higher-order react components:

import { withBreakpoints } from "@mightifier/mighty-kit/hoc";

Documentation

See components documentation.

Developer Guide

To deploy new version just use:

npm version <newversion>

This will automatically push your code with --follow-tags option.