diff --git a/index.js b/index.js index 4003be3..ef4f312 100644 --- a/index.js +++ b/index.js @@ -98,7 +98,7 @@ function extractDeps (modPath, deps) { }).tap(pkg => { return runScript('preinstall', pkg, childPath) }).then(pkg => { - return extractDeps(path.join(childPath, 'node_modules')) + return extractDeps(path.join(childPath, 'node_modules'), child.dependencies) .then(dependencies => { return { name,