{"_id":"@airtap/browserify-istanbul","_rev":"1-987578e542fa22fac43011b85d3a39b5","name":"@airtap/browserify-istanbul","dist-tags":{"latest":"4.0.0"},"versions":{"4.0.0":{"name":"@airtap/browserify-istanbul","version":"4.0.0","description":"A browserify transform for the istanbul code coverage tool","main":"index.js","directories":{"test":"test"},"scripts":{"lint":"eslint index.js test/*.js","pretest":"npm run lint","test":"nyc --reporter=text --reporter=lcov mocha"},"pre-commit":["lint","test"],"repository":{"type":"git","url":"git://github.com/airtap/browserify-istanbul.git"},"keywords":["browserify","coverage","istanbul"],"author":{"name":"Devon Govett","email":"devongovett@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/airtap/browserify-istanbul/issues"},"homepage":"https://github.com/airtap/browserify-istanbul","dependencies":{"istanbul-lib-instrument":"^4.0.0","minimatch":"^3.0.4","through2":"^3.0.1"},"devDependencies":{"browserify":"^16.5.0","coveralls":"^3.0.0","eslint":"^6.8.0","eslint-plugin-mocha":"^6.2.2","mocha":"^7.0.0","nyc":"^15.0.0","pre-commit":"^1.2.2"},"gitHead":"466a7a9a64f83456d44bc303a0c5a42eae55ee99","_id":"@airtap/browserify-istanbul@4.0.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"dist":{"integrity":"sha512-bZc90B1OJRN1llsvdIgUHTZ2tZhwlG4JdNHoQt8wVaBWhbgs5OB1XalGjN2BqaAtFfftYgRxcO5AN6e7t9HXAg==","shasum":"01ba9d25aad0114341e7cb3e09b3735420f3fbce","tarball":"https://registry.npmjs.org/@airtap/browserify-istanbul/-/browserify-istanbul-4.0.0.tgz","fileCount":3,"unpackedSize":5022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRP3SCRA9TVsSAnZWagAAvo4P/3j3QTcX610bjq9klzPw\nTPSlBW2qulA6psAz9h5BH2BtAHfmxv5PDjxcSWkhHCHsbY6AUha3gx23rKJE\nWgfo/GLshaOHMToMHRIDC6jZhtRnQe/JST1chR9Ch/KrqFr58KemDY4FFBcp\n4nQo4o2cABZEp+R6UuMlRhy0bLsBEDF035rxkK0yRcXAl+/swIMjNnzsRwE2\n+mkY0ftA0WIoc1s5GFRvp3lwKjekIgc4GZyRh3BgE+akBfzgDnTwkBA5EnH9\n0+GLMZpWXu84JdaOgptIyBbtCgPHTkk76kG+fKonwwaFIA2xkKIpoMElIX8E\nXSovwsX4iaQAcbYoBct4VwXd6wm3MNLhdEpBlKeMSV16hNBVGHPsq43Cp9sO\n8sojcGIats3DzNeG8RacvDtLN2QSCRMGdBVcUS9uoX31cdnEDBQeWaUEQpDA\nuOobMvW/fVLtGmWJxxkivGPsN+RaN0tk+ayzy3ugmQGhdo6msAbYy+3OJ+Fd\n0eV5RFGDRnJhwY9T7xaKEXQuG4PxbaZd4G7QT5ULEiRJwuY5150869fnBOoO\nBIYx0eOGa/Ik3paBYlgeV+eD/zimTl2t5ZP8FxPhvWjmrOuex5HJ4323Y6EV\nV3WTC+6YlZ9hZP70GxrT5i22OpKBan52cwRAq2NzzjOnhHfDl/SRCKV+WgW4\n5mmX\r\n=Yj3U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDm35IYPU5WjnQSVQQY8uTJMyyRtMpShcvuB2JcqFs+BwIhAJyvYHFhJ1APpiYRL/7Gouyd7MPRSV3c0MRlnj5B1I8G"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browserify-istanbul_4.0.0_1615134162351_0.23590710960513928"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-07T16:22:42.111Z","4.0.0":"2021-03-07T16:22:42.463Z","modified":"2022-04-04T12:23:32.687Z"},"maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"description":"A browserify transform for the istanbul code coverage tool","homepage":"https://github.com/airtap/browserify-istanbul","keywords":["browserify","coverage","istanbul"],"repository":{"type":"git","url":"git://github.com/airtap/browserify-istanbul.git"},"author":{"name":"Devon Govett","email":"devongovett@gmail.com"},"bugs":{"url":"https://github.com/airtap/browserify-istanbul/issues"},"license":"MIT","readme":"# browserify-istanbul\n\nA [browserify](http://github.com/substack/node-browserify) transform for the [istanbul](https://github.com/gotwarlost/istanbul) code coverage tool.\n\n**This is a temporary fork that includes [devongovett/browserify-istanbul#45](https://github.com/devongovett/browserify-istanbul/pull/45) until that lands upstream.**\n\n## Installing\n\n    npm install --save-dev @airtap/browserify-istanbul\n\n## Usage\n\nThere are several ways to register browserify transforms: on the command line, in your `package.json`, or using the browserify API.\nYou can use all of these with browserify-istanbul: see the [browserify docs](http://github.com/substack/node-browserify) for more info.\n\nThere are a few options available to browserify-istanbul when you use it from JavaScript.  They are shown in the following code example:\n\n```javascript\nvar istanbul = require('@airtap/browserify-istanbul');\n\n// use without any options...\nbrowserifyBundle.transform(istanbul);\n\n// or with some options...\nbrowserifyBundle.transform(istanbul({\n  // ignore these glob paths (the ones shown are the defaults)\n  ignore: ['**/node_modules/**', '**/bower_components/**', '**/test/**', '**/tests/**', '**/*.json'],\n\n  // by default, any paths you include in the ignore option are ignored\n  // in addition to the defaults. set the defaultIgnore option to false\n  // to only ignore the paths you specify.\n  defaultIgnore: true\n}));\n```\n\n### Command line\n\n- without options:\n\n```\n./node_modules/.bin/browserify -t @airtap/browserify-istanbul test/test-*.js -o bundle.js\n```\n\n- with options\n\n```\n./node_modules/.bin/browserify -t [ @airtap/browserify-istanbul --ignore \"**/bower_components/**\" ] test/test-*.js -o bundle.js\n```\n\n### Interacting With Coverage Reports\n\nTo load and manipulate coverage reports, the command line tool [nyc](https://www.npmjs.com/package/nyc) can be used:\n\n1. output the the `__coverage__` object to `./.nyc_output/coverage.json`.\n  * this can be facilitated using a library like [mocha-phantomjs-istanbul](https://www.npmjs.com/package/mocha-phantomjs-istanbul).\n2. execute nyc with a list of [reporters](https://github.com/istanbuljs/istanbul-reports/tree/master/lib).\n  * `nyc report --reporter=lcov --reporter=text-summary`.\n\nSee [istanbul.js.org](https://istanbul.js.org/) for more examples and documentation.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}