npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

generator-hd

0.1.0 • Public • Published

generator-hd

Scaffold out a generic JS project

Optionally with a CLI.

This is what I use for my own modules.

Install

$ npm install --global yo generator-hd

Usage

With yo:

$ yo hd

There are multiple command-line options available:

$ yo hd --help

  Usage:
    yo hd [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
    --codecov       # Upload coverage to codecov.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-codecov). You will be prompted for any options not passed on the command-line.

License

MIT © Hugo Dias

install

npm i generator-hd

Downloadsweekly downloads

7

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability