plugin-build-flowgen
A @pika/pack build plugin. Adds Flow type definitions generated from TypeScript definitions.
Last updated a year ago by chasingmaxwell .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install plugin-build-flowgen 
SYNC missed versions from official npm registry.

plugin-build-flowgen

A @pika/pack build plugin. Adds Flow type definitions generated from TypeScript definitions.

Install

# npm:
npm install plugin-build-flowgen --save-dev
# yarn:
yarn add plugin-build-flowgen --dev

Usage

{
  "name": "example-package-json",
  "version": "1.0.0",
  "@pika/pack": {
    "pipeline": [
      /* Generates the TypeScript definition files: */
      ["@pika/plugin-ts-standard-pkg"]
      /* Generates the Flow definition files: */
      ["@pika/plugin-build-flowgen"]
    ]
  }
}

Result

Generate a corresponding *.js.flow file inside the dist-node directory for every *.d.ts file inside the dist-types directory.

Current Tags

  • 2.0.1                                ...           latest (a year ago)

3 Versions

  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |