@groovy.transform.CompileStatic class NpmTask extends org.ysb33r.grolifant5.api.core.runnable.AbstractCommandExecTask<NpmExecSpec>
Ability to execute any NPM command with parameters.
The task contains an NPM extension, which by default is setup to look at the global NPM extension. It allows overriding on a per-task basis of NPM configuration.
| Constructor and description |
|---|
NpmTask
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
org.ysb33r.grolifant5.api.core.executable.CommandEntryPoint |
getCmd() |
|
protected NpmExecSpec |
getNativeExecSpec()Access to the underlying NpmExecSpec. |
|
protected NodeJSExtension |
getNodejs() |
|
protected NpmExtension |
getNpm() |
Access to the underlying NpmExecSpec.