remove unused node_modules and rewrite new package.json