Now, that our PR is merged, we could easily use `dependencies` command from Metro, instead of the code we have here.