@akameco/generator-ts-lib

Scaffold out a typescript node module

Usage no npm install needed!

<script type="module">
  import akamecoGeneratorTsLib from 'https://cdn.skypack.dev/@akameco/generator-ts-lib';
</script>

README

@akameco/generator-ts-lib

Scaffold node module with TypeScript.

Features

  • TypeScript
  • jest
  • prettier
  • eslint
  • eslint-config-precure
  • hasky/lint-staged
  • all-contirbutors

Install

$ npm install --global yo @akameco/generator-ts-lib

Usage

With yo:

$ yo @akameco/ts-lib

There are multiple command-line options available:

$ yo @akameco/ts-lib --help

  Usage:
    yo @akameco/ts-lib [options]

  Options:
    --help          # Print the generator's options and usage
    --skip-cache    # Do not remember prompt answers                      Default: false
    --skip-install  # Do not automatically install dependencies           Default: false
    --cli           # Add a CLI

Tip

Use chalk if you want colors in your CLI.

License

MIT © akameco