babel-plugin-s2s-action-root
generate action types
Last updated 4 months ago by akameco .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-s2s-action-root 
SYNC missed versions from official npm registry.

babel-plugin-s2s-action-root

compose action types

Install

$ npm install --save-dev babel-plugin-s2s-action-root

Example

IN:


OUT:

// @flow
import type { Action as AppAction } from "../app/actionTypes";
import type { Action as BobAction } from "../bob/actionTypes";

export type Action = AppAction | BobAction;

Usage

{
  ['s2s-action-root', {
    input: 'containers/**/actionTypes.js',
    output: 'types/action.js',
    globOptions: {}
  }]
}

input

type: string
required: true

glob pattern.

output

type: string
required: true

outputh path.

blobOptions

See https://github.com/isaacs/node-glob#options

Current Tags

  • 1.0.1                                ...           latest (4 months ago)

20 Versions

  • 1.0.1                                ...           4 months ago
  • 1.0.0                                ...           7 months ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.7                                ...           2 years ago
  • 0.3.6                                ...           2 years ago
  • 0.3.5                                ...           2 years ago
  • 0.3.4                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 2
Last Month 25
Dependencies (10)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |