how to recreate the package.json and package-lock files code example Example: npm generate package-lock.json npm install --package-lock