GT2/GT2-iOS/node_modules/@expo/spawn-async/package.json

150 lines
5.1 KiB
JSON
Raw Normal View History

2018-02-12 17:26:06 +00:00
{
"_args": [
[
{
"raw": "@expo/spawn-async@^1.2.8",
"scope": "@expo",
"escapedName": "@expo%2fspawn-async",
"name": "@expo/spawn-async",
"rawSpec": "^1.2.8",
"spec": ">=1.2.8 <2.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/xdl"
]
],
"_from": "@expo/spawn-async@>=1.2.8 <2.0.0",
"_id": "@expo/spawn-async@1.3.0",
"_inCache": true,
"_location": "/@expo/spawn-async",
"_nodeVersion": "7.7.1",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/spawn-async-1.3.0.tgz_1501200955527_0.7380977456923574"
},
"_npmUser": {
"name": "ide",
"email": "ide+npm@jameside.com"
},
"_npmVersion": "4.1.2",
"_phantomChildren": {},
"_requested": {
"raw": "@expo/spawn-async@^1.2.8",
"scope": "@expo",
"escapedName": "@expo%2fspawn-async",
"name": "@expo/spawn-async",
"rawSpec": "^1.2.8",
"spec": ">=1.2.8 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/@expo/osascript",
"/xdl"
],
"_resolved": "https://registry.npmjs.org/@expo/spawn-async/-/spawn-async-1.3.0.tgz",
"_shasum": "01b8a4f6bba10b792663f9272df66c7e90166dad",
"_shrinkwrap": null,
"_spec": "@expo/spawn-async@^1.2.8",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/xdl",
"author": {
"name": "support@expo.io"
},
"babel": {
"presets": [
"es2015-node4",
"es2017"
]
},
"bugs": {
"url": "https://github.com/expo/spawn-async/issues"
},
"dependencies": {
"cross-spawn": "^5.1.0"
},
"description": "A Promise-based interface into processes created by child_process.spawn",
"devDependencies": {
"babel-cli": "^6.16.0",
"babel-jest": "^20.0.3",
"babel-preset-es2015-node4": "^2.1.0",
"babel-preset-es2017": "^6.16.0",
"jest": "^20.0.4"
},
"directories": {},
"dist": {
"shasum": "01b8a4f6bba10b792663f9272df66c7e90166dad",
"tarball": "https://registry.npmjs.org/@expo/spawn-async/-/spawn-async-1.3.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"build"
],
"gitHead": "d7ac369cdf21b9981603f7ba6edbeff42f5d3ad6",
"homepage": "https://github.com/expo/spawn-async#readme",
"keywords": [
"spawn",
"child_process",
"async",
"promise",
"process"
],
"license": "MIT",
"main": "build/spawnAsync.js",
"maintainers": [
{
"name": "wilzh40",
"email": "wilzh40@gmail.com"
},
{
"name": "jesseruder",
"email": "jesse@sixfivezero.net"
},
{
"name": "terribleben",
"email": "ben@exp.host"
},
{
"name": "ccheever",
"email": "ccheever@gmail.com"
},
{
"name": "dikaiosune",
"email": "adam.n.perry@gmail.com"
},
{
"name": "nikki93",
"email": "s.nikhilesh@gmail.com"
},
{
"name": "brentvatne",
"email": "brentvatne@gmail.com"
},
{
"name": "skevy",
"email": "adam@sk3vy.com"
},
{
"name": "ide",
"email": "ide+npm@jameside.com"
},
{
"name": "expoadmin",
"email": "exponent.team@gmail.com"
}
],
"name": "@expo/spawn-async",
"optionalDependencies": {},
"readme": "# spawn-async [![CircleCI](https://circleci.com/gh/expo/spawn-async.svg?style=svg)](https://circleci.com/gh/expo/spawn-async) [![Build Status](https://travis-ci.org/expo/spawn-async.svg?branch=master)](https://travis-ci.org/expo/spawn-async)\n\nA cross-platform version of Node's `child_process.spawn` as an async function that returns a promise.\n\n## Usage:\n```js\nimport spawnAsync from '@expo/spawn-async';\n\n(async function () {\n let resultPromise = spawnAsync('echo', ['hello', 'world']);\n let spawnedChildProcess = resultPromise.child;\n try {\n let {\n pid,\n output: [stdout, stderr],\n stdout,\n stderr,\n status,\n signal,\n } = await resultPromise;\n } catch (e) {\n console.error(e.stack);\n // The error object also has the same properties as the result object\n }\n})();\n```\n\n## API\n\n`spawnAsync` takes the same arguments as [`child_process.spawn`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options).\n\nIt returns a promise whose result is an object with these properties:\n\n- `pid`: the process ID of the spawned child process\n- `output`: an array with stdout and stderr's output\n- `stdout`: a string of what the child process wrote to stdout\n- `stderr`: a string of what the child process wrote to stderr\n- `status`: the exit code of the child process\n- `signal`: the signal (ex: `SIGTERM`) used to stop the child process if it did not exit on its own\n\nIf there's an error running the child process or it exits with a non-zero status code, `spawnAsync` rejects the returned promise. The Error object also has the properties listed above.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/expo/spawn-async.git"
},
"scripts": {
"build": "babel -d build --ignore /__tests__/ src",
"test": "jest src"
},
"version": "1.3.0"
}