fuzzyblanket

0.0.2 • Public • Published

fuzzyblanket

What does this do?

  • sets up your project to use alexseville/blanket according to the node.js instructions

psuedocode

  • reads package-json

  • runs npm install --save-dev blanket if you don't already have it installed

  • adds these properties to your package.json

    scripts.posttest: 'mocha --require blanket -R html-cov > coverage.html && open coverage.html'
    scripts.blanket: {
        "pattern": "<dirname-of-your-project>/<path-to-your-code>"
    }
  • prints the resulting package.json for your knowledge

  • writes the resulting package.json back to the filesystem

usage

Usage: fuzzyblanket [--code your/source/code] [--package your/npm/module]

Options:
  --code, -c     the location of your source files; do not include your tests!
                              [default: "/Users/david.trejo/dev/snova-news/lib"]
  --package, -p  a path to the npm package to which you want to add `blanket`.
                                  [default: "/Users/david.trejo/dev/snova-news"]
  --force, -f    overwrite the scripts.posttest and scripts.blanket fields in
                 package.json
  --preview      see what changes will be made to your package.json without
                 making them

Readme

Keywords

none

Package Sidebar

Install

npm i fuzzyblanket

Weekly Downloads

1

Version

0.0.2

License

BSD-2-Clause

Last publish

Collaborators

  • dtrejo