node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

hanga

hanga

npm

Usage

hanga [command]
 
Commands:
  hanga init      Generate config file
  hanga serve     serve
  hanga generate  Generate site and fonts
 
Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Also see the help for each comamnd.

Config

export interface Config {
  // For example, in github pages
  base?: string;
  // Page title
  title: string;
  // Glob pattern for svg icons
  pattern: string;
  // Prefix classname,
  fontname: string;
  // For example, reference to the unpkg.com
  fontpath?: string;
  output: {
    // The destination path for .woff, .woff2 and css files
    font: string;
    // The destination path for generated site
    site: string;
  };
}