@groovy.transform.CompileStatic class NpmScriptExecSpec extends org.ysb33r.grolifant5.api.core.runnable.AbstractExecSpec<NpmScriptExecSpec>
Base specification for running an NPM script via npm-cli.js
For simplicity Gradle executes npm-cli.js directly rather
than use yet another indirection of the npm shell script.
| Constructor and description |
|---|
NpmScriptExecSpec
(Provider<File> nodeLocation, Provider<File> npmCliJslocation, org.ysb33r.grolifant5.api.core.ConfigCacheSafeOperations ccso)Construct class and attach it to specific project. |
NpmScriptExecSpec
(Provider<File> nodeLocation, Provider<File> npmCliJslocation, org.ysb33r.grolifant5.api.core.ProjectOperations projectOperations)Construct class and attach it to specific project. |
Construct class and attach it to specific project.
nodeLocation - Provider to the location of node.npmCliJslocation - Provider to the location of npm.jsccso - Configuration cache-safe operations.Construct class and attach it to specific project.
objectFactory - Gradle object factory.projectOperations - Project this exec spec is attached.Configures the script.
configurator - Configures the required script.Configures the script.
configurator - Configures the required script.