npm list without dependencies function