Builds graph of npm dependencies from npm registry