-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 2.84 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
45
46
47
48
49
50
{
"name": "glob2base",
"description": "Extracts a base path from a node-glob instance",
"version": "0.0.11",
"homepage": "http://github.com/wearefractal/glob2base",
"repository": {
"type": "git",
"url": "git://github.com/wearefractal/glob2base.git"
},
"author": {
"name": "Fractal",
"email": "contact@wearefractal.com",
"url": "http://wearefractal.com/"
},
"main": "./index.js",
"dependencies": {
"lodash": "^2.4.1"
},
"devDependencies": {
"coveralls": "^2.6.1",
"istanbul": "^0.2.3",
"jshint": "^2.4.1",
"jshint-stylish": "^0.2.0",
"mocha": "^1.17.0",
"mocha-lcov-reporter": "^0.0.1",
"glob": "^4.0.0",
"should": "^4.0.0"
},
"scripts": {
"lint": "jshint index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules",
"test": "npm run-script lint && mocha --reporter spec",
"coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
},
"engines": {
"node": ">= 0.10"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/wearefractal/glob2base/raw/master/LICENSE"
}
],
"readme": "# glob2base [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Support us][gittip-image]][gittip-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\n\n## Information\n\n<table>\n<tr>\n<td>Package</td><td>glob2base</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>Extracts a base path from a node-glob instance</td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.10</td>\n</tr>\n</table>\n\n## Usage\n\nThe module is a function that takes in a node-glob instance and returns a string. Basically it just gives you everything before any globbing/matching happens.\n\n```javascript\nvar glob2base = require('glob2base');\nvar glob = require('glob');\n\n// js/\nglob2base(new glob.Glob('js/**/*.js'));\n\n// css/test/\nglob2base(new glob.Glob('css/test/{a,b}/*.css'));\n\n// pages/whatever/\nglob2base(new glob.Glob('pages/whatever/index.html'));\n```\n\n## Like what we do?\n\n[gittip-url]: https://www.gittip.com/WeAreFractal/\n[gittip-image]: http://img.shields.io/gittip/WeAreFractal.svg\n\n[downloads-image]: http://img.shields.io/npm/dm/glob2base.svg\n[npm-url]: https://npmjs.org/package/glob2base\n[npm-image]: http://img.shields.io/npm/v/glob2base.svg\n\n[travis-url]: https://travis-ci.org/wearefractal/glob2base\n[travis-image]: http://img.shields.io/travis/wearefractal/glob2base.svg\n\n[coveralls-url]: https://coveralls.io/r/wearefractal/glob2base\n[coveralls-image]: http://img.shields.io/coveralls/wearefractal/glob2base/master.svg\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/wearefractal/glob2base/issues"
},
"_id": "glob2base@0.0.11",
"_from": "glob2base@^0.0.11"
}