GT2/GT2-Android/node_modules/npm-run-path/package.json

115 lines
4.6 KiB
JSON

{
"_args": [
[
{
"raw": "npm-run-path@^2.0.0",
"scope": null,
"escapedName": "npm-run-path",
"name": "npm-run-path",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/execa"
]
],
"_from": "npm-run-path@>=2.0.0 <3.0.0",
"_id": "npm-run-path@2.0.2",
"_inCache": true,
"_location": "/npm-run-path",
"_nodeVersion": "6.6.0",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/npm-run-path-2.0.2.tgz_1475136638037_0.6285470693837851"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "3.10.3",
"_phantomChildren": {},
"_requested": {
"raw": "npm-run-path@^2.0.0",
"scope": null,
"escapedName": "npm-run-path",
"name": "npm-run-path",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/clipboardy/execa",
"/execa"
],
"_resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
"_shasum": "35a9232dfa35d7067b4cb2ddf2357b1871536c5f",
"_shrinkwrap": null,
"_spec": "npm-run-path@^2.0.0",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/execa",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/npm-run-path/issues"
},
"dependencies": {
"path-key": "^2.0.0"
},
"description": "Get your PATH prepended with locally installed binaries",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "35a9232dfa35d7067b4cb2ddf2357b1871536c5f",
"tarball": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "4d956312d5da324c4eff435af7d80797f04f09e1",
"homepage": "https://github.com/sindresorhus/npm-run-path#readme",
"keywords": [
"npm",
"run",
"path",
"package",
"bin",
"binary",
"binaries",
"script",
"cli",
"command-line",
"execute",
"executable"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "npm-run-path",
"optionalDependencies": {},
"readme": "# npm-run-path [![Build Status](https://travis-ci.org/sindresorhus/npm-run-path.svg?branch=master)](https://travis-ci.org/sindresorhus/npm-run-path)\n\n> Get your [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) prepended with locally installed binaries\n\nIn [npm run scripts](https://docs.npmjs.com/cli/run-script) you can execute locally installed binaries by name. This enables the same outside npm.\n\n\n## Install\n\n```\n$ npm install --save npm-run-path\n```\n\n\n## Usage\n\n```js\nconst childProcess = require('child_process');\nconst npmRunPath = require('npm-run-path');\n\nconsole.log(process.env.PATH);\n//=> '/usr/local/bin'\n\nconsole.log(npmRunPath());\n//=> '/Users/sindresorhus/dev/foo/node_modules/.bin:/Users/sindresorhus/dev/node_modules/.bin:/Users/sindresorhus/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/usr/local/bin'\n\n// `foo` is a locally installed binary\nchildProcess.execFileSync('foo', {\n\tenv: npmRunPath.env()\n});\n```\n\n\n## API\n\n### npmRunPath([options])\n\n#### options\n\n##### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nWorking directory.\n\n##### path\n\nType: `string`<br>\nDefault: [`PATH`](https://github.com/sindresorhus/path-key)\n\nPATH to be appended.<br>\nSet it to an empty string to exclude the default PATH.\n\n### npmRunPath.env([options])\n\n#### options\n\n##### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nWorking directory.\n\n##### env\n\nType: `Object`\n\nAccepts an object of environment variables, like `process.env`, and modifies the PATH using the correct [PATH key](https://github.com/sindresorhus/path-key). Use this if you're modifying the PATH for use in the `child_process` options.\n\n\n## Related\n\n- [npm-run-path-cli](https://github.com/sindresorhus/npm-run-path-cli) - CLI for this module\n- [execa](https://github.com/sindresorhus/execa) - Execute a locally installed binary\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/npm-run-path.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "2.0.2",
"xo": {
"esnext": true
}
}