GT2/GT2-Android/node_modules/find-up/package.json

126 lines
4.6 KiB
JSON

{
"_args": [
[
{
"raw": "find-up@^2.0.0",
"scope": null,
"escapedName": "find-up",
"name": "find-up",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/read-pkg-up"
]
],
"_from": "find-up@>=2.0.0 <3.0.0",
"_id": "find-up@2.1.0",
"_inCache": true,
"_location": "/find-up",
"_nodeVersion": "6.9.1",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/find-up-2.1.0.tgz_1480684911017_0.33125952794216573"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "4.0.2",
"_phantomChildren": {},
"_requested": {
"raw": "find-up@^2.0.0",
"scope": null,
"escapedName": "find-up",
"name": "find-up",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/babel-plugin-istanbul",
"/jest-runtime/yargs",
"/jest/yargs",
"/pkg-dir",
"/read-pkg-up"
],
"_resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
"_shasum": "45d1b7e506c717ddd482775a2b77920a3c0c57a7",
"_shrinkwrap": null,
"_spec": "find-up@^2.0.0",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/read-pkg-up",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/find-up/issues"
},
"dependencies": {
"locate-path": "^2.0.0"
},
"description": "Find a file by walking up parent directories",
"devDependencies": {
"ava": "*",
"tempfile": "^1.1.1",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "45d1b7e506c717ddd482775a2b77920a3c0c57a7",
"tarball": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "10202fb1621f0c277d5d5eeaf01c1c32b008fbef",
"homepage": "https://github.com/sindresorhus/find-up#readme",
"keywords": [
"find",
"up",
"find-up",
"findup",
"look-up",
"look",
"file",
"search",
"match",
"package",
"resolve",
"parent",
"parents",
"folder",
"directory",
"dir",
"walk",
"walking",
"path"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "find-up",
"optionalDependencies": {},
"readme": "# find-up [![Build Status: Linux and macOS](https://travis-ci.org/sindresorhus/find-up.svg?branch=master)](https://travis-ci.org/sindresorhus/find-up) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/l0cyjmvh5lq72vq2/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/find-up/branch/master)\n\n> Find a file by walking up parent directories\n\n\n## Install\n\n```\n$ npm install --save find-up\n```\n\n\n## Usage\n\n```\n/\n└── Users\n\t\t└── sindresorhus\n\t\t\t\t├── unicorn.png\n\t\t\t\t└── foo\n\t\t\t\t\t\t└── bar\n\t\t\t\t\t\t\t\t├── baz\n\t\t\t\t\t\t\t\t└── example.js\n```\n\n```js\n// example.js\nconst findUp = require('find-up');\n\nfindUp('unicorn.png').then(filepath => {\n\tconsole.log(filepath);\n\t//=> '/Users/sindresorhus/unicorn.png'\n});\n\nfindUp(['rainbow.png', 'unicorn.png']).then(filepath => {\n\tconsole.log(filepath);\n\t//=> '/Users/sindresorhus/unicorn.png'\n});\n```\n\n\n## API\n\n### findUp(filename, [options])\n\nReturns a `Promise` for the filepath or `null`.\n\n### findUp([filenameA, filenameB], [options])\n\nReturns a `Promise` for the first filepath found (by respecting the order) or `null`.\n\n### findUp.sync(filename, [options])\n\nReturns a filepath or `null`.\n\n### findUp.sync([filenameA, filenameB], [options])\n\nReturns the first filepath found (by respecting the order) or `null`.\n\n#### filename\n\nType: `string`\n\nFilename of the file to find.\n\n#### options\n\n##### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nDirectory to start from.\n\n\n## Related\n\n- [find-up-cli](https://github.com/sindresorhus/find-up-cli) - CLI for this module\n- [pkg-up](https://github.com/sindresorhus/pkg-up) - Find the closest package.json file\n- [pkg-dir](https://github.com/sindresorhus/pkg-dir) - Find the root directory of an npm package\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/find-up.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "2.1.0",
"xo": {
"esnext": true
}
}