When running npm init
you are asked for the git repository (of your project I assume).
I am wondering why? What is the use case to have the git repository url of the project - where the package.json is already in - also in the package.json?
There must be a reason for it right?
当您将包发布到 NPM 存储库时,包页面中有一个指向 git 存储库的链接。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.