105 lines
9.1 KiB
JSON
105 lines
9.1 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "minimatch@2 || 3",
|
||
|
"scope": null,
|
||
|
"escapedName": "minimatch",
|
||
|
"name": "minimatch",
|
||
|
"rawSpec": "2 || 3",
|
||
|
"spec": ">=2.0.0 <3.0.0||>=3.0.0 <4.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/glob"
|
||
|
]
|
||
|
],
|
||
|
"_from": "minimatch@>=2.0.0 <3.0.0||>=3.0.0 <4.0.0",
|
||
|
"_id": "minimatch@3.0.4",
|
||
|
"_inCache": true,
|
||
|
"_location": "/minimatch",
|
||
|
"_nodeVersion": "8.0.0-pre",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "packages-18-east.internal.npmjs.com",
|
||
|
"tmp": "tmp/minimatch-3.0.4.tgz_1494180669024_0.22628829116001725"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "isaacs",
|
||
|
"email": "i@izs.me"
|
||
|
},
|
||
|
"_npmVersion": "5.0.0-beta.43",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "minimatch@2 || 3",
|
||
|
"scope": null,
|
||
|
"escapedName": "minimatch",
|
||
|
"name": "minimatch",
|
||
|
"rawSpec": "2 || 3",
|
||
|
"spec": ">=2.0.0 <3.0.0||>=3.0.0 <4.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/glob",
|
||
|
"/globby/glob",
|
||
|
"/rimraf/glob",
|
||
|
"/xdl",
|
||
|
"/xdl/glob"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
||
|
"_shasum": "5166e286457f03306064be5497e8dbb0c3d32083",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "minimatch@2 || 3",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/glob",
|
||
|
"author": {
|
||
|
"name": "Isaac Z. Schlueter",
|
||
|
"email": "i@izs.me",
|
||
|
"url": "http://blog.izs.me"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/isaacs/minimatch/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"brace-expansion": "^1.1.7"
|
||
|
},
|
||
|
"description": "a glob matcher in javascript",
|
||
|
"devDependencies": {
|
||
|
"tap": "^10.3.2"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
||
|
"shasum": "5166e286457f03306064be5497e8dbb0c3d32083",
|
||
|
"tarball": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": "*"
|
||
|
},
|
||
|
"files": [
|
||
|
"minimatch.js"
|
||
|
],
|
||
|
"gitHead": "e46989a323d5f0aa4781eff5e2e6e7aafa223321",
|
||
|
"homepage": "https://github.com/isaacs/minimatch#readme",
|
||
|
"license": "ISC",
|
||
|
"main": "minimatch.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "isaacs",
|
||
|
"email": "i@izs.me"
|
||
|
}
|
||
|
],
|
||
|
"name": "minimatch",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# minimatch\n\nA minimal matching utility.\n\n[![Build Status](https://secure.travis-ci.org/isaacs/minimatch.svg)](http://travis-ci.org/isaacs/minimatch)\n\n\nThis is the matching library used internally by npm.\n\nIt works by converting glob expressions into JavaScript `RegExp`\nobjects.\n\n## Usage\n\n```javascript\nvar minimatch = require(\"minimatch\")\n\nminimatch(\"bar.foo\", \"*.foo\") // true!\nminimatch(\"bar.foo\", \"*.bar\") // false!\nminimatch(\"bar.foo\", \"*.+(bar|foo)\", { debug: true }) // true, and noisy!\n```\n\n## Features\n\nSupports these glob features:\n\n* Brace Expansion\n* Extended glob matching\n* \"Globstar\" `**` matching\n\nSee:\n\n* `man sh`\n* `man bash`\n* `man 3 fnmatch`\n* `man 5 gitignore`\n\n## Minimatch Class\n\nCreate a minimatch object by instantiating the `minimatch.Minimatch` class.\n\n```javascript\nvar Minimatch = require(\"minimatch\").Minimatch\nvar mm = new Minimatch(pattern, options)\n```\n\n### Properties\n\n* `pattern` The original pattern the minimatch object represents.\n* `options` The options supplied to the constructor.\n* `set` A 2-dimensional array of regexp or string expressions.\n Each row in the\n array corresponds to a brace-expanded pattern. Each item in the row\n corresponds to a single path-part. For example, the pattern\n `{a,b/c}/d` would expand to a set of patterns like:\n\n [ [ a, d ]\n , [ b, c, d ] ]\n\n If a portion of the pattern doesn't have any \"magic\" in it\n (that is, it's something like `\"foo\"` rather than `fo*o?`), then it\n will be left as a string rather than converted to a regular\n expression.\n\n* `regexp` Created by the `makeRe` method. A single regular expression\n expressing the entire pattern. This is useful in cases where you wish\n to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.\n* `negate` True if the pattern is negated.\n* `comment` True if the pattern is a comment.\n* `empty` True if the pattern is `\"\"`.\n\n### Methods\n\n* `makeRe` Generate the `regexp` member if necessary, and return it.\n Will return `false` if the pattern is invalid.\n* `match(fname)` Return true if the filename matches the pattern, or\n false otherwise.\n* `matchOne(fileArray, patternArray, partial)` Take a `/`-split\n filename, and match it against a single row in the `regExpSet`. This\n method is mainly for internal use, but is exposed so that it can be\n used by a glob-walker that needs to avoid excessive filesystem calls.\n\nAll other methods are internal, and will be called as necessary.\n\n### minimatch(path, pattern, options)\n\nMain export. Tests a path against the pattern using the options.\n\n```javascript\nvar isJS = minimatch(file, \"*.js\", { matchBase: true })\n```\n\n### minimatch.filter(pattern, options)\n\nReturns a function that tests its\nsupplied argument, suitable for use with `Array.filter`. Example:\n\n```javascript\nvar javascripts = fileList.filter(minimatch.filter(\"*.js\", {matchBase: true}))\n```\n\n### minimatch.match(list, pattern, options)\n\nMatch against the list of\nfiles, in the style of fnmatch or glob. If nothing is matched, and\noptions.nonull is set, then return a list containing the pattern itself.\n\n```javascript\nvar javascripts = minimatch.match(fileList, \"*.js\", {matchBase: true}))\n```\n\n### minimatch.makeRe(pattern, options)\n\nMake a regular expression object from the pattern.\n\n## Options\n\nAll options are `false` by default.\n\n### debug\n\nDump a ton of stuff to stderr.\n\n### nobrace\n\nDo not expand `{a,b}` and `{1..3}` brace sets.\n\n### noglobstar\n\nDisable `**` matching against multiple folder names.\n\n### dot\n\nAllow patterns to match filenames starting with a period, even if\nthe pattern does not explicitly have a period in that spot.\n\nNote that by default, `a/**/b` will **not** match `a/.d/b`, unless `dot`\nis set.\n\n### noext\n\nDisable \"extglob\" style patterns like `+(a|b)`.\n\n### nocase\n\nPerform a case-insensitive match.\n\n### nonull\n\nWhen a match is not found by `minimatch.match`, return a li
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/isaacs/minimatch.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"postpublish": "git push origin --all; git push origin --tags",
|
||
|
"postversion": "npm publish",
|
||
|
"preversion": "npm test",
|
||
|
"test": "tap test/*.js --cov"
|
||
|
},
|
||
|
"version": "3.0.4"
|
||
|
}
|