Documentation

None extends Preset
in package

Table of Contents

install()  : void
Install the preset.
ensureComponentDirectoryExists()  : void
Ensure the component directories we need exist.
removeNodeModules()  : void
Remove the installed Node modules.
updateBootstrapping()  : void
Write the stubs for the Sass and JavaScript files.
updatePackageArray()  : array<string|int, mixed>
Update the given package array.
updatePackages()  : void
Update the "package.json" file.

Methods

install()

Install the preset.

public static install() : void
Return values
void

ensureComponentDirectoryExists()

Ensure the component directories we need exist.

protected static ensureComponentDirectoryExists() : void
Return values
void

removeNodeModules()

Remove the installed Node modules.

protected static removeNodeModules() : void
Return values
void

updateBootstrapping()

Write the stubs for the Sass and JavaScript files.

protected static updateBootstrapping() : void
Return values
void

updatePackageArray()

Update the given package array.

protected static updatePackageArray(array<string|int, mixed> $packages) : array<string|int, mixed>
Parameters
$packages : array<string|int, mixed>
Return values
array<string|int, mixed>

updatePackages()

Update the "package.json" file.

protected static updatePackages() : void
Return values
void

Search results