Fix package.json and bower.json for publishing