Function
Static Public Summary | ||
public |
|
|
public |
|
|
public |
fileExists(file: *): boolean |
|
public |
packagejson(projectPath: *) |
|
public |
splitarchetypes(neatoOptions: *): * Given one configuration object, it returns and array of more than one with archetype specific configuration |
|
public |
template(projectPath: *) |
Static Public
public fileExists(file: *): boolean source
import fileExists from 'neato/src/util/file-exists.js'
Params:
Name | Type | Attribute | Description |
file | * |
public packagejson(projectPath: *) source
import packagejson from 'neato/src/runner/install/package-json.js'
Params:
Name | Type | Attribute | Description |
projectPath | * |
public splitarchetypes(neatoOptions: *): * source
import splitarchetypes from 'neato/src/webpack/split-archetypes.js'
Given one configuration object, it returns and array of more than one with archetype specific configuration
This a requirement because when we build libraries, we can only have a single entry-point in the webpack configuration.
This function turns { libraries } into { library }, check the tests for more information.
Params:
Name | Type | Attribute | Description |
neatoOptions | * |
Return:
* |
public template(projectPath: *) source
import template from 'neato/src/runner/install/template.js'
Params:
Name | Type | Attribute | Description |
projectPath | * |