本文介绍了什么是"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
发布评论