diff options
author | cjihrig <cjihrig@gmail.com> | 2018-06-22 23:05:00 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-06-24 12:43:54 -0400 |
commit | 7a3bbbf41be64d04058a158f6986ec5641885f42 (patch) | |
tree | 086e84227091cfc5dfa9eb729f007424cf51feb8 /tools/node_modules/eslint/node_modules/inquirer/package.json | |
parent | d5316bc27df87b62675adec517e5dd3108efd1c2 (diff) | |
download | android-node-v8-7a3bbbf41be64d04058a158f6986ec5641885f42.tar.gz android-node-v8-7a3bbbf41be64d04058a158f6986ec5641885f42.tar.bz2 android-node-v8-7a3bbbf41be64d04058a158f6986ec5641885f42.zip |
tools: update ESLint to 5.0.0
This is a new major release of ESLint.
PR-URL: https://github.com/nodejs/node/pull/20855
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/node_modules/inquirer/package.json')
-rw-r--r-- | tools/node_modules/eslint/node_modules/inquirer/package.json | 104 |
1 files changed, 74 insertions, 30 deletions
diff --git a/tools/node_modules/eslint/node_modules/inquirer/package.json b/tools/node_modules/eslint/node_modules/inquirer/package.json index d3959f7b47..c04be22c2a 100644 --- a/tools/node_modules/eslint/node_modules/inquirer/package.json +++ b/tools/node_modules/eslint/node_modules/inquirer/package.json @@ -1,27 +1,27 @@ { - "_from": "inquirer@^3.0.6", - "_id": "inquirer@3.3.0", + "_from": "inquirer@^5.2.0", + "_id": "inquirer@5.2.0", "_inBundle": false, - "_integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", + "_integrity": "sha512-E9BmnJbAKLPGonz0HeWHtbKf+EeSP93paWO3ZYoUpq/aowXvYGjjCSuashhXPpzbArIjBbji39THkxTz9ZeEUQ==", "_location": "/eslint/inquirer", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, - "raw": "inquirer@^3.0.6", + "raw": "inquirer@^5.2.0", "name": "inquirer", "escapedName": "inquirer", - "rawSpec": "^3.0.6", + "rawSpec": "^5.2.0", "saveSpec": null, - "fetchSpec": "^3.0.6" + "fetchSpec": "^5.2.0" }, "_requiredBy": [ "/eslint" ], - "_resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", - "_shasum": "9dd2f2ad765dcab1ff0443b491442a20ba227dc9", - "_spec": "inquirer@^3.0.6", - "_where": "/Users/trott/io.js/tools/eslint-tmp/node_modules/eslint", + "_resolved": "https://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz", + "_shasum": "db350c2b73daca77ff1243962e9f22f099685726", + "_spec": "inquirer@^5.2.0", + "_where": "/Users/cjihrig/iojs/node/tools/eslint-tmp/node_modules/eslint", "author": { "name": "Simon Boudrias", "email": "admin@simonboudrias.com" @@ -35,13 +35,12 @@ "chalk": "^2.0.0", "cli-cursor": "^2.1.0", "cli-width": "^2.0.0", - "external-editor": "^2.0.4", + "external-editor": "^2.1.0", "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", + "rxjs": "^5.5.2", "string-width": "^2.1.0", "strip-ansi": "^4.0.0", "through": "^2.3.6" @@ -50,22 +49,54 @@ "description": "A collection of common interactive command line user interfaces.", "devDependencies": { "chai": "^4.0.1", + "chalk-pipe": "^1.2.0", "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", + "coveralls": "^3.0.0", + "eslint": "^4.1.0", + "eslint-config-prettier": "^2.4.0", + "eslint-config-xo": "^0.20.0", + "eslint-plugin-prettier": "^2.2.0", + "husky": "^0.14.3", + "lint-staged": "^7.0.0", + "mocha": "^5.0.0", "mockery": "^2.1.0", - "sinon": "^3.0.0" + "nsp": "^3.0.0", + "nyc": "^11.3.0", + "prettier": "^1.7.0", + "sinon": "^4.0.0" + }, + "engines": { + "node": ">=6.0.0" + }, + "eslintConfig": { + "extends": [ + "xo", + "prettier" + ], + "env": { + "mocha": true, + "node": true + }, + "rules": { + "no-eq-null": "off", + "eqeqeq": [ + "error", + "always", + { + "null": "ignore" + } + ], + "prettier/prettier": [ + "error", + { + "singleQuote": true, + "printWidth": 90 + } + ] + }, + "plugins": [ + "prettier" + ] }, "files": [ "lib" @@ -80,6 +111,16 @@ "menu" ], "license": "MIT", + "lint-staged": { + "*.js": [ + "eslint --fix", + "git add" + ], + "*.json": [ + "prettier --write", + "git add" + ] + }, "main": "lib/inquirer.js", "name": "inquirer", "repository": { @@ -87,8 +128,11 @@ "url": "git+https://github.com/SBoudrias/Inquirer.js.git" }, "scripts": { - "prepublish": "gulp prepublish", - "test": "gulp" + "coverage": "nyc report --reporter=text-lcov | coveralls", + "precommit": "lint-staged", + "prepublish": "nsp check", + "pretest": "eslint .", + "test": "nyc mocha test/**/* -r ./test/before" }, - "version": "3.3.0" + "version": "5.2.0" } |