-
Write in package.json > script
"lockVersion": "yarn list --depth=0 --json > currentVersion.json && node lockVersion"
-
Terminal RUN
npm run lockVersion
hsuntsai / package-version-lock Goto Github PK
View Code? Open in Web Editor NEWLock package.json with yarn