Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 269 Bytes

File metadata and controls

9 lines (7 loc) · 269 Bytes

Lock package.json version with yarn

remove (^) or (~) in package.json

Two steps to excute

  • Write in package.json > script "lockVersion": "yarn list --depth=0 --json > currentVersion.json && node lockVersion"

  • Terminal RUN npm run lockVersion