hanga

0.1.1 • Public • Published

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;
  };
}

Keywords

none

install

npm i hanga

Downloadsweekly downloads

6

version

0.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability