function isTs(pkgPath) {
  try {
    return existsSync(`${pkgPath}/tsconfig.json`);
  } catch (e) {
    return false;
  }
}
/*.ts`])
      .pipe(sourcemaps.init())
      .pipe(tsProject())
      // eslint-disable-next-line no-console
      .on("error", console.error.bind(console))
      // eslint-disable-next-line no-console
      .pipe(gulp.dest(`${pkg}/lib`))
  });
  gulp.task(`${pkgName}:watch`, () => gulp
    .watch(`${pkg}/src/*