Add conditional for executing npm and bower