Generate .ghinfo files with repo, npm package and media information
new Builder(dir: string, type: string): Builder
Name | Type | Description |
---|---|---|
dir |
string | Directory with media files |
type |
string | Repository content type |
Returns: Builder
Build .ghinfo file structure
Name | Type | Description |
---|---|---|
paths |
string[] | media file paths |
pkg |
PackageJson | package.json content |
repo |
string | repository name |
create or rewrite .ghinfo file