How to generate package-lock.json?

npm install --package-lock

How to find parent of a dependency from package-lock.json?

Ans. npm ls gives tree like structure. To find the parent of a particular dependency type npm ls libraryName. To solve Whitesource issue did the same for jsrsasign lib,

title: Generate only #package_lock
 
```javascript
npm i --package-lock-only

Why do we need package-lock.json

title: When npmrc is not configured the version lens plugin is giving 401.