Angular provides some tooling to parse the angular.json. We should use those instead of our own.
See https://angular.dev/tools/cli/schematics-for-libraries#get-the-project-configuration
and the additiona utilities provided by @schematics/angular/utility