()
| 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 |
nothing calls this directly
no test coverage detected