How to use the @loopback/build.runShell function in @loopback/build

To help you get started, we’ve selected a few @loopback/build examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github strongloop / loopback-next / packages / cli / smoke-test / openapi / code-gen-utils.js View on Github external
return new Promise((resolve, reject) => {
    build
      .runShell('npm', args, {
        // Disable stdout
        stdio: [process.stdin, process.stdout, process.stderr],
        cwd: sandbox,
      })
      .on('close', code => {
        assert.equal(code, 0);
        resolve();
      });
  });
}

@loopback/build

A set of common scripts and default configurations to build LoopBack 4 or other TypeScript modules

MIT
Latest version published 10 days ago

Package Health Score

89 / 100
Full package analysis

Similar packages