patch a file bower.json for bower