{ "_args": [ [ { "raw": "test-exclude@^4.1.1", "scope": null, "escapedName": "test-exclude", "name": "test-exclude", "rawSpec": "^4.1.1", "spec": ">=4.1.1 <5.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-plugin-istanbul" ] ], "_from": "test-exclude@>=4.1.1 <5.0.0", "_id": "test-exclude@4.1.1", "_inCache": true, "_location": "/test-exclude", "_nodeVersion": "7.1.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/test-exclude-4.1.1.tgz_1495919579354_0.9240932059474289" }, "_npmUser": { "name": "bcoe", "email": "ben@npmjs.com" }, "_npmVersion": "5.0.0", "_phantomChildren": { "graceful-fs": "4.1.11", "is-utf8": "0.2.1", "normalize-package-data": "2.4.0", "parse-json": "2.2.0", "pinkie-promise": "2.0.1" }, "_requested": { "raw": "test-exclude@^4.1.1", "scope": null, "escapedName": "test-exclude", "name": "test-exclude", "rawSpec": "^4.1.1", "spec": ">=4.1.1 <5.0.0", "type": "range" }, "_requiredBy": [ "/babel-plugin-istanbul" ], "_resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-4.1.1.tgz", "_shasum": "4d84964b0966b0087ecc334a2ce002d3d9341e26", "_shrinkwrap": null, "_spec": "test-exclude@^4.1.1", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-plugin-istanbul", "author": { "name": "Ben Coe", "email": "ben@npmjs.com" }, "bugs": { "url": "https://github.com/istanbuljs/istanbuljs/issues" }, "dependencies": { "arrify": "^1.0.1", "micromatch": "^2.3.11", "object-assign": "^4.1.0", "read-pkg-up": "^1.0.1", "require-main-filename": "^1.0.1" }, "description": "test for inclusion or exclusion of paths using pkg-conf and globs", "devDependencies": { "chai": "^3.5.0", "mocha": "^3.1.2", "standard": "^9.0.0" }, "directories": {}, "dist": { "integrity": "sha512-35+Asrsk3XHJDBgf/VRFexPgh3UyETv8IAn/LRTiZjVy6rjPVqdEk8dJcJYBzl1w0XCJM48lvTy8SfEsCWS4nA==", "shasum": "4d84964b0966b0087ecc334a2ce002d3d9341e26", "tarball": "https://registry.npmjs.org/test-exclude/-/test-exclude-4.1.1.tgz" }, "files": [ "index.js" ], "greenkeeper": { "ignore": [ "read-pkg-up" ] }, "homepage": "https://github.com/istanbuljs/istanbuljs#readme", "keywords": [ "exclude", "include", "glob", "package", "config" ], "license": "ISC", "main": "index.js", "maintainers": [ { "name": "jakxz", "email": "jgkurian@me.com" }, { "name": "bcoe", "email": "ben@npmjs.com" } ], "name": "test-exclude", "optionalDependencies": {}, "readme": "# test-exclude\n\nThe file include/exclude logic used by [nyc](https://github.com/istanbuljs/nyc).\n\n[![Build Status](https://travis-ci.org/istanbuljs/test-exclude.svg)](https://travis-ci.org/istanbuljs/test-exclude)\n[![Coverage Status](https://coveralls.io/repos/github/istanbuljs/test-exclude/badge.svg?branch=master)](https://coveralls.io/github/istanbuljs/test-exclude?branch=master)\n[![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventional-changelog/standard-version)\n[![Greenkeeper badge](https://badges.greenkeeper.io/istanbuljs/test-exclude.svg)](https://greenkeeper.io/)\n\n## Usage\n\n```js\nconst exclude = require('test-exclude')\nif (exclude().shouldInstrument('./foo.js')) {\n // let's instrument this file for test coverage!\n}\n```\n\n_you can load configuration from a key in package.json:_\n\n_package.json_\n\n```json\n{\n \"name\": \"awesome-module\",\n \"test\": {\n \"include\": [\"**/index.js\"]\n }\n}\n```\n\n_app.js_\n\n```js\nconst exclude = require('test-exclude')\nif (exclude({configKey: 'test'}).shouldInstrument('./index.js')) {\n // let's instrument this file for test coverage!\n}\n```\n\n## Including node_modules folder\n\nby default the `node_modules` folder is added to all groups of\nexclude rules. In the rare case that you wish to instrument files\nstored in `node_modules`, a negative glob can be used:\n\n```js\nconst exclude = require('test-exclude')\nconst e = exclude({\n exclude: ['!**/node_modules/**']\n})\n```\n\n## License\n\nISC\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/istanbuljs/istanbuljs.git" }, "scripts": { "pretest": "standard", "test": "mocha" }, "version": "4.1.1" }