generate new package-lock code example Example: npm generate package-lock.json npm install --package-lock