Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package-lock.json 有什么用 #17

Open
suukii opened this issue Jul 12, 2020 · 0 comments
Open

package-lock.json 有什么用 #17

suukii opened this issue Jul 12, 2020 · 0 comments
Labels

Comments

@suukii
Copy link
Owner

suukii commented Jul 12, 2020

简单地说,就是锁定安装时依赖包的版本号,保存在 git 中可以保证其他人在 npm install 的时候下载的依赖包版本号一致。这个文件是在 npm install 的时候生成一个文件用来记录当前状态下安装的各个依赖包的来源和版本号。

@suukii suukii added the webpack label Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant