Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC J Silverio <ceejceej@gmail.com>2017-02-14 22:40:43 +0300
committerRebecca Turner <me@re-becca.org>2017-02-24 02:56:11 +0300
commit148ee663740aa05877c64f16cdf18eba33fbc371 (patch)
tree7a6d38ade0fb73d09451c680bacdc2f34a60edff /package.json
parent7ac9265c56b4d9eeaca6fcfb29513f301713e7bb (diff)
npm-cli: add update-notifier & use it
The cli bin script now runs the update-notifier module after it has decided we're running in a good node version. We do not yet customize the output in any way. Credit: @ceejbot Fixes: #11473 PR-URL: https://github.com/npm/npm/pull/15774#pullrequestreview-23599057 Reviewed-By: @iarna
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index ae83af8ad..27050a03c 100644
--- a/package.json
+++ b/package.json
@@ -102,6 +102,7 @@
"umask": "~1.1.0",
"unique-filename": "~1.1.0",
"unpipe": "~1.0.0",
+ "update-notifier": "~2.0.0",
"uuid": "~3.0.1",
"validate-npm-package-name": "~3.0.0",
"which": "~1.2.12",
@@ -189,6 +190,7 @@
"umask",
"unique-filename",
"unpipe",
+ "update-notifier",
"validate-npm-package-license",
"validate-npm-package-name",
"which",