added support for the .bowerrc file and the directory property