Checks that npm runs during the installation of a module