From 84438f5c5a6c55d297298df03dc2449ebc156950 Mon Sep 17 00:00:00 2001 From: Ryan Graham Date: Tue, 26 Jul 2016 19:11:06 -0700 Subject: [PATCH] bundle dependencies Bundling the dependencies ensures that they are always present when npm runs a package's lifecycle scripts. This is necessary to get any sort of consistency in behaviour when using dependencies in install scripts because the installation order in npm@2 is non-deterministic and that is the version of npm that ships with the current LTS releases of Node. This should address #581, #580, #578, #553, #584 May also help with #302, #556, #555, which aren't clear what their root causes are due to lack of detail. --- package.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 898818cf6..578cdd51b 100644 --- a/package.json +++ b/package.json @@ -51,5 +51,15 @@ "devDependencies": { "eslint": "2.7.0", "nodeunit": "0.9.1" - } + }, + "bundledDependencies": [ + "extract-zip", + "fs-extra", + "hasha", + "kew", + "progress", + "request", + "request-progress", + "which" + ] }