It's kind of time consuming to maintain to branches of the same repository with very similar structure, except a few folders and files. Here is a solution:
place grunt/gulp or npm (in future) stuff in related folders
add simple bash script that allows to swithc task runner (or even npm scripts) and remove the rest variants.
It should work like very simplified scaffold generator.
It's kind of time consuming to maintain to branches of the same repository with very similar structure, except a few folders and files. Here is a solution: