Would be nice to have the semantics of `package.json` contained within a separate lib to ease the development of complementary tools.