1.1.0 • Published 6 years ago

flow-result-checker v1.1.0

Weekly downloads
250
License
MIT
Repository
github
Last release
6 years ago

flow-result-checker

Build Status Build Status npm version

This is a small helper script, that parses flow output and filters errors inside node_modules. Afterwards returns the normal flow output for errors inside your package.

You can choose to store the whole result as a txt file by specifying a directory to save the results to.

Options

optionresultdefault
-d, --dirspecifies the directory where files should be saved. if not specified, files will not be savedundefined
-f, --filename of the file where results are savedresults.txt
-e, --error-filename of the file, errors during script execution will be savederrors.txt

Examples

Your package.json:

  "scripts": {
    "flow": "flow check --show-all-errors | flow-result-checker",
    "flow-with-save": "flow check --show-all-errors | flow-result-checker -d ./flow"
  },
  "dependencies": {
    "flow-bin": "x.x.x"
  }

with npm:
npm run flow will only print errors in your code
npm run flow-with-save will print errors in your code, but save the whole result in ./flow/results.txt

with yarn:
yarn flow will only print errors in your code
yarn flow-with-save will print errors in your code, but save the whole result in ./flow/results.txt

1.1.0

6 years ago

1.0.0

6 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago