-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 2.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "matchdep",
"description": "Use minimatch to filter npm module dependencies by name.",
"version": "0.1.2",
"homepage": "https://github.com/tkellen/node-matchdep",
"author": {
"name": "Tyler Kellen",
"url": "http://goingslowly.com/"
},
"repository": {
"type": "git",
"url": "git://github.com/tkellen/node-matchdep.git"
},
"bugs": {
"url": "https://github.com/tkellen/node-matchdep/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/tkellen/node-matchdep/blob/master/LICENSE-MIT"
}
],
"main": "lib/matchdep",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "./node_modules/.bin/grunt nodeunit"
},
"dependencies": {
"minimatch": "~0.2.9"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.1.0",
"grunt-contrib-nodeunit": "~0.1.0",
"grunt": "~0.4.0a",
"grunt-cli": "~0.1.1"
},
"keywords": [],
"readme": "# matchdep [![Build Status](https://secure.travis-ci.org/tkellen/node-matchdep.png?branch=master)](http://travis-ci.org/tkellen/node-matchdep)\n\n> Use minimatch to filter npm module dependencies by name.\n\n## Examples\n\n```js\nvar matchdep = require('matchdep');\n\n// Filter dependencies (with autoloading of package.json from cwd)\nmatchdep.filter('mini*');\n\n// Filter devDependencies (with config string indicating file to be required)\nmatchdep.filterDev('grunt-contrib*', './package.json');\n\n// Filter all dependencies (with explicit config provided)\nmatchdep.filterAll('*', require('./package.json'));\n```\n\n## Usage\n\n```js\nfilter(pattern, config)\nfilterDev(pattern, config)\nfilterAll(pattern, config)\n```\n\n### pattern\nType: `String`\nDefault: none\n\n[minimatch](/isaacs/minimatch) compatible pattern to filter dependencies.\n\n### config\nType: `String` or `Object`\nDefault: `path.resolve(process.cwd(),'package.json')`\n\nIf config is a string, matchdep will attempt to require it. If it is an object, it will be used directly.\n\n---\nCopyright (c) 2012 Tyler Kellen. See LICENSE for further details.\n",
"readmeFilename": "README.md",
"_id": "matchdep@0.1.2",
"_from": "matchdep@~0.1.1"
}