包详细信息

istanbulify

fdecampredon184Apache-2.00.1.0

Simple transform command to instrument your source with istanbul using browserify

istanbul, browserify, coverage, instrument

自述文件

Istanbulify

browserify v2 plugin that allow 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.