Updating package.json to directed-graph