Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

generator-hap

longjiarun16MIT1.0.2

generator hap for install and update hap scaffold

yeoman-generator, generator-hap, hap, webpack, gulp, react

readme

About

Generator-Hap will help you install scaffold from github or archive and zip file;

Usage

Installation

1.Make sure both is installed globally

npm install -g yo
npm install -g generator-hap

2.Create a new directory, and cd into it

mkdir my-new-project && cd my-new-project

3.Run the generator

yo hap

4.See the generator options

yo hap --help

// setting the scaffold like this

yo hap --option-name value --option-name value 

License

MIT