GT2/GT2-Android/node_modules/fileset/package.json

108 lines
6.1 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "fileset@^2.0.2",
"scope": null,
"escapedName": "fileset",
"name": "fileset",
"rawSpec": "^2.0.2",
"spec": ">=2.0.2 <3.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/istanbul-api"
]
],
"_from": "fileset@>=2.0.2 <3.0.0",
"_id": "fileset@2.0.3",
"_inCache": true,
"_location": "/fileset",
"_nodeVersion": "6.7.0",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/fileset-2.0.3.tgz_1476434101736_0.43783262581564486"
},
"_npmUser": {
"name": "mklabs",
"email": "daniel.mickael@gmail.com"
},
"_npmVersion": "3.10.3",
"_phantomChildren": {
"fs.realpath": "1.0.0",
"inflight": "1.0.6",
"inherits": "2.0.3",
"minimatch": "3.0.4",
"once": "1.4.0",
"path-is-absolute": "1.0.1"
},
"_requested": {
"raw": "fileset@^2.0.2",
"scope": null,
"escapedName": "fileset",
"name": "fileset",
"rawSpec": "^2.0.2",
"spec": ">=2.0.2 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/istanbul-api"
],
"_resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz",
"_shasum": "8e7548a96d3cc2327ee5e674168723a333bba2a0",
"_shrinkwrap": null,
"_spec": "fileset@^2.0.2",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/istanbul-api",
"author": {
"name": "mklabs"
},
"bugs": {
"url": "https://github.com/mklabs/node-fileset/issues"
},
"dependencies": {
"glob": "^7.0.3",
"minimatch": "^3.0.3"
},
"description": "Wrapper around miniglob / minimatch combo to allow multiple patterns matching and include-exclude ability",
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-regenerator": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"bake-cli": "^0.6.0",
"eslint": "^3.7.1",
"eslint-config-standard": "^6.2.0",
"eslint-plugin-promise": "^3.0.0",
"eslint-plugin-standard": "^2.0.1",
"mocha": "^3.1.2",
"standard-version": "^3.0.0",
"watchd": "^0.1.1"
},
"directories": {},
"dist": {
"shasum": "8e7548a96d3cc2327ee5e674168723a333bba2a0",
"tarball": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz"
},
"gitHead": "227334aa99497d88a099cc994057527c6b4de83c",
"homepage": "https://github.com/mklabs/node-fileset",
"license": "MIT",
"main": "./lib/fileset",
"maintainers": [
{
"name": "mklabs",
"email": "daniel.mickael@gmail.com"
}
],
"name": "fileset",
"optionalDependencies": {},
"readme": "# node-fileset [![Build Status](https://secure.travis-ci.org/mklabs/node-fileset.png)](http://travis-ci.org/mklabs/node-fileset)\n\nExposes a basic wrapper on top of\n[Glob](https://github.com/isaacs/node-glob) /\n[minimatch](https://github.com/isaacs/minimatch) combo both written by\n@isaacs. Glob now uses JavaScript instead of C++ bindings which makes it\nusable in Node.js 0.6.x and Windows platforms.\n\n[![NPM](https://nodei.co/npm/fileset.png?downloads=true&stars=true)](https://nodei.co/npm/fileset/)\n\nAdds multiples patterns matching and exlude ability. This is\nbasically just a sugar API syntax where you can specify a list of includes\nand optional exclude patterns. It works by setting up the necessary\nminiglob \"fileset\" and filtering out the results using minimatch.\n\n*[Changelog](https://github.com/mklabs/node-fileset/blob/master/CHANGELOG.md#changelog)*\n\n## Install\n\n npm install fileset\n\n## Usage\n\nCan be used with callback or emitter style.\n\n* **include**: list of glob patterns `foo/**/*.js *.md src/lib/**/*`\n* **exclude**: *optional* list of glob patterns to filter include\n results `foo/**/*.js *.md`\n* **callback**: *optional* function that gets called with an error if\n something wrong happend, otherwise null with an array of results\n\nThe callback is optional since the fileset method return an instance of\nEventEmitter which emit different events you might use:\n\n* *match*: Every time a match is found, miniglob emits this event with\n the pattern.\n* *include*: Emitted each time an include match is found.\n* *exclude*: Emitted each time an exclude match is found and filtered\n out from the fileset.\n* *end*: Emitted when the matching is finished with all the matches\n found, optionally filtered by the exclude patterns.\n\n#### Callback\n\n```js\nvar fileset = require('fileset');\n\nfileset('**/*.js', '**.min.js', function(err, files) {\n if (err) return console.error(err);\n\n console.log('Files: ', files.length);\n console.log(files);\n});\n```\n\n#### Event emitter\n\n```js\nvar fileset = require('fileset');\n\nfileset('**.coffee README.md *.json Cakefile **.js', 'node_modules/**')\n .on('match', console.log.bind(console, 'error'))\n .on('include', console.log.bind(console, 'includes'))\n .on('exclude', console.log.bind(console, 'excludes'))\n .on('end', console.log.bind(console, 'end'));\n```\n\n`fileset` returns an instance of EventEmitter, with an `includes` property\nwhich is the array of Fileset objects (inheriting from\n`miniglob.Miniglob`) that were used during the mathing process, should\nyou want to use them individually.\n\nCheck out the\n[tests](https://github.com/mklabs/node-fileset/tree/master/tests) for\nmore examples.\n\n## Sync usage\n\n```js\nvar results = fileset.sync('*.md *.js', 'CHANGELOG.md node_modules/**/*.md node_modules/**/*.js');\n```\n\nThe behavior should remain the same, although it lacks the last `options` arguments to pass to internal `glob` and `minimatch` dependencies.\n\n## Tests\n\nRun `npm test`\n\n## Why\n\nMainly for a build tool with cake files, to provide me an easy way to get\na list of files by either using glob or path patterns, optionally\nallowing exclude patterns to filter out the results.\n\nAll the magic is happening in\n[Glob](https://github.com/isaacs/node-glob) and\n[minimatch](https://github.com/isaacs/minimatch). Check them out!\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/mklabs/node-fileset.git"
},
"scripts": {
"test": "make test"
},
"version": "2.0.3"
}