-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 5.54 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"_args": [
[
{
"raw": "to-absolute-glob@https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"scope": null,
"escapedName": "to-absolute-glob",
"name": "to-absolute-glob",
"rawSpec": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"spec": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"type": "remote"
},
"/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin"
]
],
"_from": "to-absolute-glob@https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"_id": "to-absolute-glob@0.1.1",
"_inCache": true,
"_location": "/firebase-admin/to-absolute-glob",
"_phantomChildren": {},
"_requested": {
"raw": "to-absolute-glob@https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"scope": null,
"escapedName": "to-absolute-glob",
"name": "to-absolute-glob",
"rawSpec": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"spec": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/firebase-admin",
"/firebase-admin/gulp-typescript/glob-stream"
],
"_resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"_shasum": "1cdfa472a9ef50c239ee66999b662ca0eb39937f",
"_shrinkwrap": null,
"_spec": "to-absolute-glob@https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz",
"_where": "/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/to-absolute-glob/issues"
},
"dependencies": {
"extend-shallow": "^2.0.1"
},
"description": "Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.",
"devDependencies": {
"mocha": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/jonschlinkert/to-absolute-glob",
"keywords": [
"resolve",
"pattern",
"absolute",
"glob"
],
"license": "MIT",
"main": "index.js",
"name": "to-absolute-glob",
"optionalDependencies": {},
"readme": "# to-absolute-glob [![NPM version](https://badge.fury.io/js/to-absolute-glob.svg)](http://badge.fury.io/js/to-absolute-glob)\n\n> Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i to-absolute-glob --save\n```\n\n## Usage\n\n```js\nvar toAbsGlob = require('to-absolute-glob');\ntoAbsGlob('a/*.js');\n//=> '/dev/foo/a/*.js'\n```\n\n## Examples\n\nGiven the current project folder (cwd) is `/dev/foo/`:\n\n**makes a path absolute**\n\n```js\ntoAbsGlob('a');\n//=> '/dev/foo/a'\n```\n\n**makes a glob absolute**\n\n```js\ntoAbsGlob('a/*.js');\n//=> '/dev/foo/a/*.js'\n```\n\n**retains trailing slashes**\n\n```js\ntoAbsGlob('a/*/');\n//=> '/dev/foo/a/*/'\n```\n\n**retains trailing slashes with cwd**\n\n```js\ntoAbsGlob('./fixtures/whatsgoingon/*/', {cwd: __dirname});\n//=> '/dev/foo/'\n```\n\n**makes a negative glob absolute**\n\n```js\ntoAbsGlob('!a/*.js');\n//=> '!/dev/foo/a/*.js'\n```\n\n**from a cwd**\n\n```js\ntoAbsGlob('a/*.js', {cwd: 'foo'});\n//=> '/dev/foo/foo/a/*.js'\n```\n\n**makes a negative glob absolute from a cwd**\n\n```js\ntoAbsGlob('!a/*.js', {cwd: 'foo'});\n//=> '!/dev/foo/foo/a/*.js'\n```\n\n**from a root path**\n\n```js\ntoAbsGlob('/a/*.js', {root: 'baz'});\n//=> '/dev/foo/baz/a/*.js'\n```\n\n**from a root slash**\n\n```js\ntoAbsGlob('/a/*.js', {root: '/'});\n//=> '/dev/foo/a/*.js'\n```\n\n**from a negative root path**\n\n```js\ntoAbsGlob('!/a/*.js', {root: 'baz'});\n//=> '!/dev/foo/baz/a/*.js'\n```\n\n**from a negative root slash**\n\n```js\ntoAbsGlob('!/a/*.js', {root: '/'});\n//=> '!/dev/foo/a/*.js'\n```\n\n## Related projects\n\n* [has-glob](https://www.npmjs.com/package/has-glob): Returns `true` if an array has a glob pattern. | [homepage](https://github.com/jonschlinkert/has-glob)\n* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern.… [more](https://www.npmjs.com/package/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob)\n* [is-valid-glob](https://www.npmjs.com/package/is-valid-glob): Return true if a value is a valid glob pattern or patterns. | [homepage](https://github.com/jonschlinkert/is-valid-glob)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 05, 2015._",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/jonschlinkert/to-absolute-glob.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"related": {
"list": [
"is-glob",
"is-valid-glob",
"has-glob"
]
}
},
"version": "0.1.1"
}