fix bug with publish bower.json and .bowerrc