Skip to content

azz/generator-npm-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

@azz/generator-npm-package

Travis Prettier npm semantic-release License

An opinionated npm package bootstrapper

Features

Install

First, install Yeoman and generator-npm-package using npm (we assume you have pre-installed node.js).

yarn global add yo @azz/generator-npm-package

Use

yo @azz/npm-package

Prompt

$ yo @azz/npm-package
  _ __  _ __  _ __ ___        _ __   __ _  ___| | ____ _  __ _  ___
 | '_ \| '_ \| '_ ` _ \ _____| '_ \ / _` |/ __| |/ / _` |/ _` |/ _ \
 | | | | |_) | | | | | |_____| |_) | (_| | (__|   < (_| | (_| |  __/
 |_| |_| .__/|_| |_| |_|     | .__/ \__,_|\___|_|\_\__,_|\__, |\___|
       |_|                   |_|                         |___/
? package name? my-pkg
? package description? My package description
? full name (First Last)? John Citizen
? GitHub username or organization? jcitizen

Produces

$ tree -I 'node_modules|.git' -a
.
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierignore
β”œβ”€β”€ .travis.yml
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ dist
β”‚   └── index.js
β”œβ”€β”€ package.json
β”œβ”€β”€ src
β”‚   └── index.js
└── yarn.lock

About

πŸ“¦ An opinionated npm package bootstrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published