updates package.json file with dependencies, removes node_modules folder