enabling npm install in pretest