什么是"dev"? true在package

编程入门 行业动态 更新时间:2024-10-27 18:19:21
本文介绍了什么是"dev"? true在package-lock.json中用于吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

"dev" true在package-lock.json文件中是什么意思?

What does "dev" true means in package-lock.json file?

对于我来说,当我执行npm操作时,它会自动更新.

In my case it is automatically updated when I perform npm operations.

我们如何删除它?

推荐答案

来自 docs.npmjs/files/package-lock.json

如果为true,则此依赖项仅是顶层模块的开发依赖项,或者是一个传递性依赖项.对于既是顶层的开发依赖关系又是顶层的非开发依赖关系的传递依赖关系的依赖关系,都是错误的.

If true then this dependency is either a development dependency ONLY of the top level module or a transitive dependency of one. This is false for dependencies that are both a development dependency of the top level and a transitive dependency of a non-development dependency of the top level.

更多推荐

什么是"dev"? true在package

本文发布于:2023-11-15 03:04:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1590582.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:dev   quot   package   true

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!