Runs scripts that are defined in package.json
.
Type | Name and description |
---|---|
java.lang.String |
scriptName |
Constructor and description |
---|
NpmScriptTask
() |
Type Params | Return Type | Name and description |
---|---|---|
|
org.gradle.api.provider.Provider<java.util.List<java.lang.String>> |
getCmdArgs() Any arguments specific to the command in use |
|
NpmTask |
setCommand(java.lang.Object cmd) Set the command to use. |
Methods inherited from class | Name |
---|---|
class NpmTask |
buildCommandLine, getEnvironment |
Any arguments specific to the command in use
Set the command to use.
cmd
- Anything that can be resolved via org.ysb33r.grolifant.api.v4.StringUtils#stringize(Object)this
Groovy Documentation