generator-phinm

1.1.0 • Public • Published

generator-phinm

Greenkeeper badge

npm Build Status codecov

Scaffold out a node module. Inspired and forked from sindresorhus/generator-nm

Optionally with a CLI.

You need yo to use the generator.

Install

$ yarn add global yo generator-phinm

Usage

$ yo phinm

There are multiple command-line options available:

$ yo phinm --help

  Usage:
    yo phinm [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
    --appveyor      # Add Appveyor config file
    --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.

Tip

Use chalk if you want colors in your CLI.

License

MIT © LasaleFamine

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    0
    • latest

Version History

Package Sidebar

Install

npm i generator-phinm

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

16.1 kB

Total Files

19

Last publish

Collaborators

  • lasalefamine