Update bower.json and npm.json.
Separate argument-parsing code from cramming code.