0.1.1 • Published 6 years ago
hanga v0.1.1
hanga
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;
};
}