generate doc task from npm now