Bootstrap
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.
- updatePackageArray() : array<string|int, mixed>
- Update the given package array.
- updatePackages() : void
- Update the "package.json" file.
- updateSass() : void
- Update the Sass files for the application.
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 —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 —updateSass()
Update the Sass files for the application.
protected
static updateSass() : void