peer

fun NpmDependencies.peer(    name: String,     version: String,     action: Action<NpmDependency> = Action { }): NamedDomainObjectProvider<NpmDependency>

Registers a peer npm dependency for the package

Return

registered dependency

Parameters

name

of the dependency

version

of the dependency

action

to apply