add .npmrc and change package.json bower install to allow root operations