Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/forms / danger
  ..
  __unused
  Makefile.ts
  README.md
  config.ts
  git.ts
  output.json
  safety.ts
  scripts.ts
  shell.ts
Size: Mime:

danger

perf

async function danger() {
  // @todo need to capture with colours in subprocess
  // log.shush()
  // had to do this instead of exec for colors...
  console.time('danger')

  // 75305.972ms
  // 63578.819ms
  // await run('tslint')
  // await run('test')
  // await run('eslint')
  // await run('styledlint')
  // await run('typescript')

  // 52761.767ms
  // 40774.407ms
  await Promise.all(
    ['tslint', 'test', 'eslint', 'styledlint', 'typescript'].map(run)
  )

  console.timeEnd('danger')
  // log.unShush()
  console.log('\n...;')
}