MCPcopy Create free account
hub / github.com/UI5/webcomponents / constructor

Method constructor

packages/tools/bin/ui5nps.js:43–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 resolvedScripts = new Map();
42
43 constructor() {
44 const { scripts, envs } = this.getScripts();
45
46 this.scripts = scripts;
47 this.envs = envs;
48
49 // Parse scripts on initialization
50 this.parseScripts();
51
52 [...this.parsedScripts.keys()].forEach(key => {
53 this.resolveScripts(`${key}`);
54 });
55 }
56
57 /**
58 * Recursively parses script definitions from package-scripts file

Callers

nothing calls this directly

Calls 3

getScriptsMethod · 0.95
parseScriptsMethod · 0.95
resolveScriptsMethod · 0.95

Tested by

no test coverage detected