yarn.lock 和 package-lock.json 相互转换


 

 

yarn.lock 转换为  package-lock.json  

 

synp

Convert yarn.lock to package-lock.json and vice versa.

install

npm install -g synp

command line usage

yarn.lock => package-lock.json

yarn # be sure the node_modules folder dir and is updated synp --source-file /path/to/yarn.lock # will create /path/to/package-lock.json


package-lock.json   转换为  yarn.lock

package-lock.json => yarn.lock

 

npm install # be sure the node_modules dir exists and is updated synp --source-file /path/to/package-lock.json # will create /path/to/yarn.lock


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM