Support dependencies that are specified as an array in package.json.