peer
fun NpmDependencies.peer( name: String, version: String, action: Action<NpmDependency> = Action { }): NamedDomainObjectProvider<NpmDependency>
Content copied to clipboard
Registers a peer npm dependency for the package
Return
registered dependency
Parameters
name
of the dependency
version
of the dependency
action
to apply