public class NpmDependencyTree
extends java.lang.Object
| Constructor and Description |
|---|
NpmDependencyTree() |
| Modifier and Type | Method and Description |
|---|---|
static org.jfrog.build.extractor.scan.DependencyTree |
createDependencyTree(com.fasterxml.jackson.databind.JsonNode npmList,
NpmScope scope,
java.nio.file.Path workingDir)
Create a npm dependency tree from the results of 'npm ls' command.
|
public static org.jfrog.build.extractor.scan.DependencyTree createDependencyTree(com.fasterxml.jackson.databind.JsonNode npmList,
NpmScope scope,
java.nio.file.Path workingDir)
npmList - - Results of 'npm ls' commandscope - - Dependency scopeworkingDir - - The package.json directoryNpmPackageInfo