execute npm directory