Write x-package.json once and generate package.json, bower.json whatever.json.