javascript - How to distinguish development time dependencies from runtime dependencies?
大家讲道理
大家讲道理 2017-06-14 10:53:59
0
1
709

How to determine whether the imported module in package.json is a runtime dependency (dependencies) or a development time dependency (devDependencies), such as which react is?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
伊谢尔伦
dependencies: {
    react: ^15.4.2
}

It can be understood this way: what is finally packaged is dependencies; it is just dev that is relied upon during development, such as various babel-plugin-*, *-loader

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template