Common grunt process for libraries