GT2/GT2-Android/node_modules/shell-quote/package.json

122 lines
5.6 KiB
JSON

{
"_args": [
[
{
"raw": "shell-quote@1.6.1",
"scope": null,
"escapedName": "shell-quote",
"name": "shell-quote",
"rawSpec": "1.6.1",
"spec": "1.6.1",
"type": "version"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native"
]
],
"_from": "shell-quote@1.6.1",
"_id": "shell-quote@1.6.1",
"_inCache": true,
"_location": "/shell-quote",
"_nodeVersion": "5.5.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/shell-quote-1.6.1.tgz_1466196190331_0.3792361367959529"
},
"_npmUser": {
"name": "substack",
"email": "substack@gmail.com"
},
"_npmVersion": "3.7.1",
"_phantomChildren": {},
"_requested": {
"raw": "shell-quote@1.6.1",
"scope": null,
"escapedName": "shell-quote",
"name": "shell-quote",
"rawSpec": "1.6.1",
"spec": "1.6.1",
"type": "version"
},
"_requiredBy": [
"/react-devtools-core",
"/react-native"
],
"_resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz",
"_shasum": "f4781949cce402697127430ea3b3c5476f481767",
"_shrinkwrap": null,
"_spec": "shell-quote@1.6.1",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"bugs": {
"url": "https://github.com/substack/node-shell-quote/issues"
},
"dependencies": {
"array-filter": "~0.0.0",
"array-map": "~0.0.0",
"array-reduce": "~0.0.0",
"jsonify": "~0.0.0"
},
"description": "quote and parse shell commands",
"devDependencies": {
"tape": "~2.3.0"
},
"directories": {},
"dist": {
"shasum": "f4781949cce402697127430ea3b3c5476f481767",
"tarball": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz"
},
"gitHead": "09935581cd2b300d74a65bda3b1cbeb52779dd16",
"homepage": "https://github.com/substack/node-shell-quote#readme",
"keywords": [
"shell",
"command",
"quote",
"parse"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "karissa",
"email": "krmckelv@gmail.com"
},
{
"name": "substack",
"email": "substack@gmail.com"
}
],
"name": "shell-quote",
"optionalDependencies": {},
"readme": "# shell-quote\n\nParse and quote shell commands.\n\n[![build status](https://secure.travis-ci.org/substack/node-shell-quote.png)](http://travis-ci.org/substack/node-shell-quote)\n\n[![browser support](https://ci.testling.com/substack/node-shell-quote.png)](https://ci.testling.com/substack/node-shell-quote)\n\n# example\n\n## quote\n\n``` js\nvar quote = require('shell-quote').quote;\nvar s = quote([ 'a', 'b c d', '$f', '\"g\"' ]);\nconsole.log(s);\n```\n\noutput\n\n```\na 'b c d' \\$f '\"g\"'\n```\n\n## parse\n\n``` js\nvar parse = require('shell-quote').parse;\nvar xs = parse('a \"b c\" \\\\$def \\'it\\\\\\'s great\\'');\nconsole.dir(xs);\n```\n\noutput\n\n```\n[ 'a', 'b c', '\\\\$def', 'it\\'s great' ]\n```\n\n## parse with an environment variable\n\n``` js\nvar parse = require('shell-quote').parse;\nvar xs = parse('beep --boop=\"$PWD\"', { PWD: '/home/robot' });\nconsole.dir(xs);\n```\n\noutput\n\n```\n[ 'beep', '--boop=/home/robot' ]\n```\n\n## parse with custom escape charcter\n\n``` js\nvar parse = require('shell-quote').parse;\nvar xs = parse('beep --boop=\"$PWD\"', { PWD: '/home/robot' }, { escape: '^' });\nconsole.dir(xs);\n```\n\noutput\n\n```\n[ 'beep', '--boop=/home/robot' ]\n```\n\n## parsing shell operators\n\n``` js\nvar parse = require('shell-quote').parse;\nvar xs = parse('beep || boop > /byte');\nconsole.dir(xs);\n```\n\noutput:\n\n```\n[ 'beep', { op: '||' }, 'boop', { op: '>' }, '/byte' ]\n```\n\n## parsing shell comment\n\n``` js\nvar parse = require('shell-quote').parse;\nvar xs = parse('beep > boop # > kaboom');\nconsole.dir(xs);\n```\n\noutput:\n\n```\n[ 'beep', { op: '>' }, 'boop', { comment: '> kaboom' } ]\n```\n\n# methods\n\n``` js\nvar quote = require('shell-quote').quote;\nvar parse = require('shell-quote').parse;\n```\n\n## quote(args)\n\nReturn a quoted string for the array `args` suitable for using in shell\ncommands.\n\n## parse(cmd, env={})\n\nReturn an array of arguments from the quoted string `cmd`.\n\nInterpolate embedded bash-style `$VARNAME` and `${VARNAME}` variables with\nthe `env` object which like bash will replace undefined variables with `\"\"`.\n\n`env` is usually an object but it can also be a function to perform lookups.\nWhen `env(key)` returns a string, its result will be output just like `env[key]`\nwould. When `env(key)` returns an object, it will be inserted into the result\narray like the operator objects.\n\nWhen a bash operator is encountered, the element in the array with be an object\nwith an `\"op\"` key set to the operator string. For example:\n\n```\n'beep || boop > /byte'\n```\n\nparses as:\n\n```\n[ 'beep', { op: '||' }, 'boop', { op: '>' }, '/byte' ]\n```\n\n# install\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install shell-quote\n```\n\n# license\n\nMIT\n",
"readmeFilename": "readme.markdown",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/substack/node-shell-quote.git"
},
"scripts": {
"test": "tape test/*.js"
},
"testling": {
"files": "test/*.js",
"browsers": [
"ie/6..latest",
"firefox/3.5",
"firefox/15..latest",
"firefox/nightly",
"chrome/25..latest",
"chrome/canary",
"opera/10..latest",
"opera/next",
"safari/5.1..latest",
"ipad/6.0..latest",
"iphone/6.0..latest",
"android-browser/4.2..latest"
]
},
"version": "1.6.1"
}