Added npm install
Added deletion of temp and dist directory