Reptar
Static Method Summary
Static Public Methods | ||
public static |
Get information about the Reptar installation from its package.json. |
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) Create a new Reptar instance. |
Member Summary
Public Members | ||
public |
Expose config object on instance. |
|
public |
Our destination object of where our files will be written. |
|
public |
Create backing FileSystem instance. |
|
public |
Create metadata that will be accessible within every template. |
|
public |
Save options passed into instance. |
|
public |
|
Method Summary
Public Methods | ||
public |
async build() Builds the Reptar site in its entirety. |
|
public |
Removes configured destination directory and all files contained. |
|
public |
async update(objectPattern: {"skipFiles": *}) |
Static Public Methods
Public Constructors
public constructor(options: Object) source
Create a new Reptar instance.
Params:
Name | Type | Attribute | Description |
options | Object | Options object. |
|
options.rootPath | string | Where the root path of this Reptar instance points to. |
|
options.incremental | boolean | If we should incremental build files. |
|
options.noTemplateCache | boolean | Should templates be cached. Typically this is only off when developing or in watch mode. |