jest-flow-transform

Custom jest transformer to remove flow type annotations

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
jest-flow-transform
001.0.17 years ago7 years agoMinified + gzip package size for jest-flow-transform in KB

Readme

Jest Flow Transform
A transformer for jest that removes flow type annotations from JavaScript files.

Usage

Add as a transformer in your package.json (See Jest Docs).
{
  "jest": {
    "transform": {
      "^.+\\.js(?:\\.flow)?$": "jest-flow-transform"
    }
  }
}