GT2/GT2-iOS/node_modules/resolve-cwd/package.json

110 lines
4.1 KiB
JSON

{
"_args": [
[
{
"raw": "resolve-cwd@^2.0.0",
"scope": null,
"escapedName": "resolve-cwd",
"name": "resolve-cwd",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/import-local"
]
],
"_from": "resolve-cwd@>=2.0.0 <3.0.0",
"_id": "resolve-cwd@2.0.0",
"_inCache": true,
"_location": "/resolve-cwd",
"_nodeVersion": "4.7.3",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/resolve-cwd-2.0.0.tgz_1493370863917_0.16202757763676345"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"raw": "resolve-cwd@^2.0.0",
"scope": null,
"escapedName": "resolve-cwd",
"name": "resolve-cwd",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/import-local"
],
"_resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz",
"_shasum": "00a9f7387556e27038eae232caa372a6a59b665a",
"_shrinkwrap": null,
"_spec": "resolve-cwd@^2.0.0",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/import-local",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/resolve-cwd/issues"
},
"dependencies": {
"resolve-from": "^3.0.0"
},
"description": "Resolve the path of a module like `require.resolve()` but from the current working directory",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "00a9f7387556e27038eae232caa372a6a59b665a",
"tarball": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "8c41f4b51c0b12792127ca2974101f8cac800a3b",
"homepage": "https://github.com/sindresorhus/resolve-cwd#readme",
"keywords": [
"require",
"resolve",
"path",
"module",
"from",
"like",
"cwd",
"current",
"working",
"directory",
"import"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "resolve-cwd",
"optionalDependencies": {},
"readme": "# resolve-cwd [![Build Status](https://travis-ci.org/sindresorhus/resolve-cwd.svg?branch=master)](https://travis-ci.org/sindresorhus/resolve-cwd)\n\n> Resolve the path of a module like [`require.resolve()`](https://nodejs.org/api/globals.html#globals_require_resolve) but from the current working directory\n\n\n## Install\n\n```\n$ npm install --save resolve-cwd\n```\n\n\n## Usage\n\n```js\nconst resolveCwd = require('resolve-cwd');\n\nconsole.log(__dirname);\n//=> '/Users/sindresorhus/rainbow'\n\nconsole.log(process.cwd());\n//=> '/Users/sindresorhus/unicorn'\n\nresolveCwd('./foo');\n//=> '/Users/sindresorhus/unicorn/foo.js'\n```\n\n\n## API\n\n### resolveCwd(moduleId)\n\nLike `require()`, throws when the module can't be found.\n\n### resolveCwd.silent(moduleId)\n\nReturns `null` instead of throwing when the module can't be found.\n\n#### moduleId\n\nType: `string`\n\nWhat you would use in `require()`.\n\n\n## Related\n\n- [resolve-from](https://github.com/sindresorhus/resolve-from) - Resolve the path of a module from a given path\n- [req-from](https://github.com/sindresorhus/req-from) - Require a module from a given path\n- [req-cwd](https://github.com/sindresorhus/req-cwd) - Require a module from the current working directory\n- [resolve-pkg](https://github.com/sindresorhus/resolve-pkg) - Resolve the path of a package regardless of it having an entry point\n- [lazy-req](https://github.com/sindresorhus/lazy-req) - Require modules lazily\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/resolve-cwd.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "2.0.0"
}