jonnyreeves / istanbulify

browserify v2 plugin that allows you to instrument your source using istanbul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Istanbulify

browserify v2 plugin that allows you to instrument your source using istanbul

Instalation:

npm install istanbulify

Usage:

To instrument your source during the browserify bundling simply use the -toptions of browserify passing istanbulify as argument:

browserify -t istanbulify myfile.js > bundle.js

Ignoring files :

To ignore a file during bundling add a block comments containing /* istanbulify ignore file */ in your file.

Credits:

The code of this module has been greatly inspired by coffeify.

About

browserify v2 plugin that allows you to instrument your source using istanbul

License:Apache License 2.0