136 lines
18 KiB
JSON
136 lines
18 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "inquirer@^3.0.1",
|
||
|
"scope": null,
|
||
|
"escapedName": "inquirer",
|
||
|
"name": "inquirer",
|
||
|
"rawSpec": "^3.0.1",
|
||
|
"spec": ">=3.0.1 <4.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native-scripts"
|
||
|
]
|
||
|
],
|
||
|
"_from": "inquirer@>=3.0.1 <4.0.0",
|
||
|
"_id": "inquirer@3.3.0",
|
||
|
"_inCache": true,
|
||
|
"_location": "/inquirer",
|
||
|
"_nodeVersion": "8.1.3",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/inquirer-3.3.0.tgz_1505746703250_0.32175100315362215"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "sboudrias",
|
||
|
"email": "admin@simonboudrias.com"
|
||
|
},
|
||
|
"_npmVersion": "5.0.3",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "inquirer@^3.0.1",
|
||
|
"scope": null,
|
||
|
"escapedName": "inquirer",
|
||
|
"name": "inquirer",
|
||
|
"rawSpec": "^3.0.1",
|
||
|
"spec": ">=3.0.1 <4.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/react-native-scripts"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz",
|
||
|
"_shasum": "9dd2f2ad765dcab1ff0443b491442a20ba227dc9",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "inquirer@^3.0.1",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native-scripts",
|
||
|
"author": {
|
||
|
"name": "Simon Boudrias",
|
||
|
"email": "admin@simonboudrias.com"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/SBoudrias/Inquirer.js/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"ansi-escapes": "^3.0.0",
|
||
|
"chalk": "^2.0.0",
|
||
|
"cli-cursor": "^2.1.0",
|
||
|
"cli-width": "^2.0.0",
|
||
|
"external-editor": "^2.0.4",
|
||
|
"figures": "^2.0.0",
|
||
|
"lodash": "^4.3.0",
|
||
|
"mute-stream": "0.0.7",
|
||
|
"run-async": "^2.2.0",
|
||
|
"rx-lite": "^4.0.8",
|
||
|
"rx-lite-aggregates": "^4.0.8",
|
||
|
"string-width": "^2.1.0",
|
||
|
"strip-ansi": "^4.0.0",
|
||
|
"through": "^2.3.6"
|
||
|
},
|
||
|
"description": "A collection of common interactive command line user interfaces.",
|
||
|
"devDependencies": {
|
||
|
"chai": "^4.0.1",
|
||
|
"cmdify": "^0.0.4",
|
||
|
"eslint": "^4.2.0",
|
||
|
"eslint-config-xo-space": "^0.16.0",
|
||
|
"gulp": "^3.9.0",
|
||
|
"gulp-codacy": "^1.0.0",
|
||
|
"gulp-coveralls": "^0.1.0",
|
||
|
"gulp-eslint": "^4.0.0",
|
||
|
"gulp-exclude-gitignore": "^1.0.0",
|
||
|
"gulp-istanbul": "^1.1.2",
|
||
|
"gulp-line-ending-corrector": "^1.0.1",
|
||
|
"gulp-mocha": "^3.0.0",
|
||
|
"gulp-nsp": "^2.1.0",
|
||
|
"gulp-plumber": "^1.0.0",
|
||
|
"mocha": "^3.4.2",
|
||
|
"mockery": "^2.1.0",
|
||
|
"sinon": "^3.0.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==",
|
||
|
"shasum": "9dd2f2ad765dcab1ff0443b491442a20ba227dc9",
|
||
|
"tarball": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz"
|
||
|
},
|
||
|
"files": [
|
||
|
"lib"
|
||
|
],
|
||
|
"gitHead": "dcf31103e8e86efab7fa687b563be21f26807175",
|
||
|
"homepage": "https://github.com/SBoudrias/Inquirer.js#readme",
|
||
|
"keywords": [
|
||
|
"command",
|
||
|
"prompt",
|
||
|
"stdin",
|
||
|
"cli",
|
||
|
"tty",
|
||
|
"menu"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "lib/inquirer.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "mischah",
|
||
|
"email": "mail@michael-kuehnel.de"
|
||
|
},
|
||
|
{
|
||
|
"name": "sboudrias",
|
||
|
"email": "admin@simonboudrias.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "inquirer",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "Inquirer.js\n===========\n\n[![npm](https://badge.fury.io/js/inquirer.svg)](http://badge.fury.io/js/inquirer) [![tests](https://travis-ci.org/SBoudrias/Inquirer.js.svg?branch=master)](http://travis-ci.org/SBoudrias/Inquirer.js) [![Coverage Status](https://coveralls.io/repos/yeoman/generator/badge.svg)](https://coveralls.io/r/SBoudrias/Inquirer.js) [![dependencies](https://david-dm.org/SBoudrias/Inquirer.js.svg?theme=shields.io)](https://david-dm.org/SBoudrias/Inquirer.js)\n\nA collection of common interactive command line user interfaces.\n\n## Table of Contents\n\n 1. [Documentation](#documentation)\n 1. [Installation](#installation)\n 2. [Examples](#examples)\n 3. [Methods](#methods)\n 4. [Objects](#objects)\n 1. [Questions](#questions)\n 2. [Answers](#answers)\n 3. [Separator](#separator)\n 4. [Prompt Types](#prompt)\n 2. [User Interfaces and Layouts](#layouts)\n 1. [Reactive Interface](#reactive)\n 3. [Support](#support)\n 4. [News](#news)\n 5. [Contributing](#contributing)\n 6. [License](#license)\n 7. [Plugins](#plugins)\n\n\n## Goal and Philosophy\n\n<img align=\"right\" alt=\"Inquirer Logo\" src=\"/assets/inquirer_readme.png\" title=\"Inquirer.js\"/>\n\n**`Inquirer.js`** strives to be an easily embeddable and beautiful command line interface for [Node.js](https://nodejs.org/) (and perhaps the \"CLI [Xanadu](https://en.wikipedia.org/wiki/Citizen_Kane)\").\n\n**`Inquirer.js`** should ease the process of\n- providing *error feedback*\n- *asking questions*\n- *parsing* input\n- *validating* answers\n- managing *hierarchical prompts*\n\n> **Note:** **`Inquirer.js`** provides the user interface and the inquiry session flow. If you're searching for a full blown command line program utility, then check out [commander](https://github.com/visionmedia/commander.js), [vorpal](https://github.com/dthree/vorpal) or [args](https://github.com/leo/args).\n\n\n## [Documentation](#documentation)\n<a name=\"documentation\"></a>\n\n### Installation\n<a name=\"installation\"></a>\n\n``` shell\nnpm install inquirer\n```\n\n```javascript\nvar inquirer = require('inquirer');\ninquirer.prompt([/* Pass your questions in here */]).then(function (answers) {\n\t// Use user feedback for... whatever!!\n});\n```\n\n<a name=\"examples\"></a>\n### Examples (Run it and see it)\nCheck out the `examples/` folder for code and interface examples.\n\n``` shell\nnode examples/pizza.js\nnode examples/checkbox.js\n# etc...\n```\n\n\n### Methods\n<a name=\"methods\"></a>\n#### `inquirer.prompt(questions) -> promise`\n\nLaunch the prompt interface (inquiry session)\n\n- **questions** (Array) containing [Question Object](#question) (using the [reactive interface](#reactive-interface), you can also pass a `Rx.Observable` instance)\n- returns a **Promise**\n\n#### `inquirer.registerPrompt(name, prompt)`\n\nRegister prompt plugins under `name`.\n\n- **name** (string) name of the this new prompt. (used for question `type`)\n- **prompt** (object) the prompt object itself (the plugin)\n\n#### `inquirer.createPromptModule() -> prompt function`\n\nCreate a self contained inquirer module. If you don't want to affect other libraries that also rely on inquirer when you overwrite or add new prompt types.\n\n```js\nvar prompt = inquirer.createPromptModule();\n\nprompt(questions).then(/* ... */);\n```\n\n### Objects\n<a name=\"objects\"></a>\n\n#### Question\n<a name=\"questions\"></a>\nA question object is a `hash` containing question related values:\n\n- **type**: (String) Type of the prompt. Defaults: `input` - Possible values: `input`, `confirm`,\n`list`, `rawlist`, `expand`, `checkbox`, `password`, `editor`\n- **name**: (String) The name to use when storing the answer in the answers hash. If the name contains periods, it will define a path in the answers hash.\n- **message**: (String|Function) The question to print. If defined as a function, the first parameter will be the current inquirer session answers.\n- **default**: (String|Number|Array|Function) Default value(s) to use if nothing is entered, or a function tha
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/SBoudrias/Inquirer.js.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"prepublish": "gulp prepublish",
|
||
|
"test": "gulp"
|
||
|
},
|
||
|
"version": "3.3.0"
|
||
|
}
|