generator-pnp
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

generator-pnp

Generate TypeScript or JavaScript node project.

npm version Build status

Install

npm install -g yo
npm install -g generator-pnp

Usage

yo pnp [project name] [options]

Options

  • name (String, default current folder) Project name.
  • description(String) Project description.
  • version (String) Package version
  • tsc (Boolean, default true) Typescript project.
  • license (Boolean, default true) Include or not a LICENSE file (MIT).
  • githubAccount (String) Account name for GitHub repo location.
  • repositoryName (String) GitHub repo name.
  • travis (Boolean, default true) Include .travis.yml.
  • appveyor (Boolean, default false) Include appveyor.yml.
  • git (Boolean, default true) Intialize a git repository and add remote.

Sub generators

  • pnp:tsc
  • pnp:js
  • pnp:readme
  • pnp:license
  • pnp:ci
  • pnp:git

Use yo pnp:[sub] --help for more

License

MIT

Package Sidebar

Install

npm i generator-pnp

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

34.3 kB

Total Files

51

Last publish

Collaborators

  • q_h