Home
last modified time | relevance | path

Searched refs:isDevDep (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/npm/lib/install/
Dis-dev-dep.js2 module.exports = isDevDep
4 function isDevDep (node, name) { function
Dis-only-dev.js5 const isDevDep = require('./is-dev-dep.js') constant
25 const isDev = isDevDep(req, name)
Ddeps.js29 var isDevDep = require('./is-dev-dep.js') variable
155 var devVer = isDevDep(tree, name)
160 return {isDep: true, isProdDep: false, isDevDep: false}
164 if (matches) return {isDep: true, isProdDep: prodSpec, isDevDep: false}
165 if (devVer === prodVer) return {isDep: child.fromShrinkwrap, isProdDep: false, isDevDep: false}
168 …ildVersionMatch(child, devSpec, tree) || child.fromShrinkwrap, isProdDep: false, isDevDep: devSpec}
170 return {isDep: child.fromShrinkwrap, isProdDep: false, isDevDep: false}
180 if (dep.isDevDep && tree.missingDevDeps) delete tree.missingDevDeps[moduleName(child)]