Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bang88/generator-nmt


https://github.com/bang88/generator-nmt

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# generator-nmt [![Build Status](https://travis-ci.org/bang88/generator-nmt.svg?branch=master)](https://travis-ci.org/bang88/generator-nmt)

> Scaffold out a node module using TypeScript

## Install

```
$ npm install --global yo generator-nmt
```

## Usage

With [yo](https://github.com/yeoman/yo):

```
$ yo nmt
```

There are multiple command-line options available:

```
$ yo nmt --help

Usage:
yo nmt [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
--org # Publish to a GitHub organization account
--cli # Add a CLI
--coverage # Add code coverage with nyc
--coveralls # Upload coverage to coveralls.io (implies --coverage)
```

The `--org` option takes a string value (i.e. `--org=avajs`). All others are boolean flags and can be negated with the `no` prefix (i.e. `--no-coveralls`). You will be prompted for any options not passed on the command-line.