Documentation

React 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
Update the bootstrapping files.
updateComponent()  : void
Update the example component.
updatePackageArray()  : array<string|int, mixed>
Update the given package array.
updatePackages()  : void
Update the "package.json" file.
updateWebpackConfiguration()  : void
Update the Webpack configuration.

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()

Update the bootstrapping files.

protected static updateBootstrapping() : void
Return values
void

updateComponent()

Update the example component.

protected static updateComponent() : 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

updateWebpackConfiguration()

Update the Webpack configuration.

protected static updateWebpackConfiguration() : void
Return values
void

Search results