198 lines
25 KiB
JSON
198 lines
25 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "micromatch@^2.3.11",
|
||
|
"scope": null,
|
||
|
"escapedName": "micromatch",
|
||
|
"name": "micromatch",
|
||
|
"rawSpec": "^2.3.11",
|
||
|
"spec": ">=2.3.11 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest-haste-map"
|
||
|
]
|
||
|
],
|
||
|
"_from": "micromatch@>=2.3.11 <3.0.0",
|
||
|
"_id": "micromatch@2.3.11",
|
||
|
"_inCache": true,
|
||
|
"_location": "/micromatch",
|
||
|
"_nodeVersion": "6.3.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "packages-16-east.internal.npmjs.com",
|
||
|
"tmp": "tmp/micromatch-2.3.11.tgz_1468602931475_0.3629888044670224"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "jonschlinkert",
|
||
|
"email": "github@sellside.com"
|
||
|
},
|
||
|
"_npmVersion": "3.10.3",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "micromatch@^2.3.11",
|
||
|
"scope": null,
|
||
|
"escapedName": "micromatch",
|
||
|
"name": "micromatch",
|
||
|
"rawSpec": "^2.3.11",
|
||
|
"spec": ">=2.3.11 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/anymatch",
|
||
|
"/jest-haste-map",
|
||
|
"/jest-message-util",
|
||
|
"/jest-runner/jest-haste-map",
|
||
|
"/jest-runtime",
|
||
|
"/jest-runtime/jest-haste-map",
|
||
|
"/jest/jest-cli",
|
||
|
"/jest/jest-haste-map",
|
||
|
"/test-exclude"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
|
||
|
"_shasum": "86677c97d1720b363431d04d0d15293bd38c1565",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "micromatch@^2.3.11",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest-haste-map",
|
||
|
"author": {
|
||
|
"name": "Jon Schlinkert",
|
||
|
"url": "https://github.com/jonschlinkert"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/jonschlinkert/micromatch/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"arr-diff": "^2.0.0",
|
||
|
"array-unique": "^0.2.1",
|
||
|
"braces": "^1.8.2",
|
||
|
"expand-brackets": "^0.1.4",
|
||
|
"extglob": "^0.3.1",
|
||
|
"filename-regex": "^2.0.0",
|
||
|
"is-extglob": "^1.0.0",
|
||
|
"is-glob": "^2.0.1",
|
||
|
"kind-of": "^3.0.2",
|
||
|
"normalize-path": "^2.0.1",
|
||
|
"object.omit": "^2.0.0",
|
||
|
"parse-glob": "^3.0.4",
|
||
|
"regex-cache": "^0.4.2"
|
||
|
},
|
||
|
"description": "Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.",
|
||
|
"devDependencies": {
|
||
|
"benchmarked": "^0.1.4",
|
||
|
"chalk": "^1.1.1",
|
||
|
"gulp": "^3.9.0",
|
||
|
"gulp-eslint": "^1.1.1",
|
||
|
"gulp-format-md": "^0.1.8",
|
||
|
"gulp-istanbul": "^0.10.1",
|
||
|
"gulp-mocha": "^2.1.3",
|
||
|
"minimatch": "^3.0.0",
|
||
|
"minimist": "^1.2.0",
|
||
|
"mocha": "^2",
|
||
|
"multimatch": "^2.0.0",
|
||
|
"should": "^8",
|
||
|
"write": "^0.2.1"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "86677c97d1720b363431d04d0d15293bd38c1565",
|
||
|
"tarball": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=0.10.0"
|
||
|
},
|
||
|
"files": [
|
||
|
"index.js",
|
||
|
"lib"
|
||
|
],
|
||
|
"gitHead": "f194c187d04677b03047bb7d8d25643725f7a577",
|
||
|
"homepage": "https://github.com/jonschlinkert/micromatch",
|
||
|
"keywords": [
|
||
|
"bash",
|
||
|
"expand",
|
||
|
"expansion",
|
||
|
"expression",
|
||
|
"file",
|
||
|
"files",
|
||
|
"filter",
|
||
|
"find",
|
||
|
"glob",
|
||
|
"globbing",
|
||
|
"globs",
|
||
|
"globstar",
|
||
|
"match",
|
||
|
"matcher",
|
||
|
"matches",
|
||
|
"matching",
|
||
|
"minimatch",
|
||
|
"multimatch",
|
||
|
"path",
|
||
|
"pattern",
|
||
|
"patterns",
|
||
|
"regex",
|
||
|
"regexp",
|
||
|
"regular",
|
||
|
"shell",
|
||
|
"wildcard"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "jonschlinkert",
|
||
|
"email": "github@sellside.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "doowb",
|
||
|
"email": "brian.woodward@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "es128",
|
||
|
"email": "elan.shanker+npm@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "micromatch",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# micromatch [![NPM version](https://img.shields.io/npm/v/micromatch.svg?style=flat)](https://www.npmjs.com/package/micromatch) [![NPM downloads](https://img.shields.io/npm/dm/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![Build Status](https://img.shields.io/travis/jonschlinkert/micromatch.svg?style=flat)](https://travis-ci.org/jonschlinkert/micromatch)\n\n> Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.\n\nMicromatch supports all of the same matching features as [minimatch](https://github.com/isaacs/minimatch) and [multimatch](https://github.com/sindresorhus/multimatch).\n\n* [mm()](#usage) is the same as [multimatch()](https://github.com/sindresorhus/multimatch)\n* [mm.match()](#match) is the same as [minimatch.match()](https://github.com/isaacs/minimatch)\n* use [mm.isMatch()](#ismatch) instead of [minimatch()](https://github.com/isaacs/minimatch)\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save micromatch\n```\n\n## Start matching!\n\n```js\nvar mm = require('micromatch');\nconsole.log(mm(['']))\n```\n\n***\n\n### Features\n\n* [Drop-in replacement](#switch-from-minimatch) for [minimatch](https://github.com/isaacs/minimatch) and [multimatch](https://github.com/sindresorhus/multimatch)\n* Built-in support for multiple glob patterns, like `['foo/*.js', '!bar.js']`\n* [Brace Expansion](https://github.com/jonschlinkert/braces) (`foo/bar-{1..5}.md`, `one/{two,three}/four.md`)\n* Typical glob patterns, like `**/*`, `a/b/*.js`, or `['foo/*.js', '!bar.js']`\n* Methods like `.isMatch()`, `.contains()` and `.any()`\n\n**Extended globbing features:**\n\n* Logical `OR` (`foo/bar/(abc|xyz).js`)\n* Regex character classes (`foo/bar/baz-[1-5].js`)\n* POSIX [bracket expressions](https://github.com/jonschlinkert/expand-brackets) (`**/[[:alpha:][:digit:]]/`)\n* [extglobs](https://github.com/jonschlinkert/extglob) (`**/+(x|y)`, `!(a|b)`, etc).\n\nYou can combine these to create whatever matching patterns you need.\n\n**Example**\n\n```js\n// double-negation!\nmm(['fa', 'fb', 'f', 'fo'], '!(f!(o))');\n//=> ['fo']\n```\n\n## Why switch to micromatch?\n\n* Native support for multiple glob patterns, no need for wrappers like [multimatch](https://github.com/sindresorhus/multimatch)\n* [10-55x faster](#benchmarks) and more performant than [minimatch](https://github.com/isaacs/minimatch) and [multimatch](https://github.com/sindresorhus/multimatch). This is achieved through a combination of caching and regex optimization strategies, a fundamentally different approach than minimatch.\n* More extensive support for the Bash 4.3 specification\n* More complete extglob support\n* Extensive [unit tests](./test) (approx. 1,300 tests). Minimatch fails many of the tests.\n\n### Switch from minimatch\n\nUse `mm.isMatch()` instead of `minimatch()`:\n\n```js\nmm.isMatch('foo', 'b*');\n//=> false\n```\n\nUse `mm.match()` instead of `minimatch.match()`:\n\n```js\nmm.match(['foo', 'bar'], 'b*');\n//=> 'bar'\n```\n\n### Switch from multimatch\n\nSame signature:\n\n```js\nmm(['foo', 'bar', 'baz'], ['f*', '*z']);\n//=> ['foo', 'baz']\n```\n\n***\n\n## Usage\n\nAdd micromatch to your node.js project:\n\n```js\nvar mm = require('micromatch');\n```\n\n**Signature**\n\n```js\nmm(array_of_strings, glob_patterns[, options]);\n```\n\n**Example**\n\n```js\nmm(['foo', 'bar', 'baz'], 'b*');\n//=> ['bar', 'baz']\n```\n\n### Usage examples\n\n**Brace expansion**\n\nMatch files with `.js` or `.txt` extensions.\n\n```js\nmm(['a.js', 'b.md', 'c.txt'], '*.{js,txt}');\n//=> ['a.js', 'c.txt']\n```\n\n**Extglobs**\n\nMatch anything except for files with the `.md` extension.\n\n```js\nmm(files, '**/*.!(md)');\n\n//=> ['a.js', 'c.txt']\n```\n\n**Multiple patterns**\n\nMatch using an array of patterns.\n\n```js\nmm(['a.md', 'b.js', 'c.txt', 'd.json'], ['*.md', '*.txt']);\n//=> ['a.md', 'c.txt']\n```\n\n**Negation patterns:**\n\nBehavior is designed to be what users would expect, based on conventions that are already well-established.\n\n* [m
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/jonschlinkert/micromatch.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "mocha"
|
||
|
},
|
||
|
"verb": {
|
||
|
"related": {
|
||
|
"list": [
|
||
|
"braces",
|
||
|
"expand-brackets",
|
||
|
"expand-range",
|
||
|
"extglob",
|
||
|
"fill-range",
|
||
|
"gulp-micromatch",
|
||
|
"is-glob",
|
||
|
"parse-glob"
|
||
|
]
|
||
|
},
|
||
|
"reflinks": [
|
||
|
"braces",
|
||
|
"expand-brackets",
|
||
|
"extglob",
|
||
|
"minimatch",
|
||
|
"multimatch",
|
||
|
"verb"
|
||
|
],
|
||
|
"toc": false,
|
||
|
"layout": false,
|
||
|
"tasks": [
|
||
|
"readme"
|
||
|
],
|
||
|
"plugins": [
|
||
|
"gulp-format-md"
|
||
|
],
|
||
|
"lint": {
|
||
|
"reflinks": true
|
||
|
}
|
||
|
},
|
||
|
"version": "2.3.11"
|
||
|
}
|