There should be a _standard_ way of validating `package.json` files, see: - https://github.com/gorillamania/package.json-validator - https://github.com/meryn/normalize-package-data