only configure needed deployment type

* only add to grunt config the necessary deployment type elements
* update to last task dependencies