code: function transpile() {
    return new Promise((resolve, reject) => {
      const result = spawn.sync(
        skyPagesConfigUtil.spaPath('node_modules', '.bin', 'ngc'),
        [
          '--project',
          skyPagesConfigUtil.spaPathTemp('tsconfig.json')
        ],
        { stdio: 'inherit' }
      );
  
      // Catch ngc errors.
      if (result.err) {
        reject(result.err);
        return;
      }
  
      // Catch non-zero status codes.
      if (result.status !== 0) {
        reject(new Error(`Angular compiler (ngc) exited with status code ${result.status}.`));
        return;
      }
  
      resolve();
    });
  }
docs: Transpiles TypeScript files into JavaScript files
  to be included with the NPM package.