npm --from-lock-file code example
Example: npmrc package-lock
//Global
npm config set package-lock false
//Local
echo 'package-lock=false' >> .npmrc
//Global
npm config set package-lock false
//Local
echo 'package-lock=false' >> .npmrc