问题:
npm@5 has been published, it has a new feature package-lock.json
file (after npm install
) which confuses me. npm@5 已经发布,它有一个新功能package-lock.json
文件(在npm install
),这让我很困惑。 I want to know, what is the effect of this file?我想知道,这个文件的作用是什么?
解决方案:
参考一: https://stackoom.com/question/2zrsh参考二: What is the role of the package-lock.json?