Home
last modified time | relevance | path

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

/third_party/node/deps/npm/lib/install/
Dis-prod-dep.js3 module.exports = isProdDep
5 function isProdDep (node, name) { function
Dis-only-dev.js6 const isProdDep = require('./is-prod-dep.js') constant
26 const isProd = isProdDep(req, name)
Ddeps.js30 var isProdDep = require('./is-prod-dep.js') variable
154 var prodVer = isProdDep(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 …return {isDep: doesChildVersionMatch(child, devSpec, tree) || child.fromShrinkwrap, isProdDep: fal…
170 return {isDep: child.fromShrinkwrap, isProdDep: false, isDevDep: false}
179 if (dep.isProdDep && tree.missingDeps) delete tree.missingDeps[moduleName(child)]