grunt-bowerful
grunt-bowerful copied to clipboard
Support for bower.json
Also tuned down verbosity.
I think the if check that you added is unnecessary, but instead of using an if statement you could using an assignment like:
Var json = checkfileexistfunc ? readfile : {}
Since we are checking for many files existances and rreading their content I think that could have own facade function wrapper.
You're right. The code could be written more concise or extracted into a separate object / function. Quick late night contributing to make a use case work does not always result in the best code. I should take more care the next time. I will make the change in a couple of days.
I also noticed I accidentally started contributing on master
instead of develop
. That's ok?
this is great adition i hope it gets merged soon
bower.json is in the develop branch. Does it work for you?