@groovy.transform.CompileStatic class NpmPackageJsonInstall extends AbstractBaseNpmPackageJsonInstall<NodeJSExtension, NpmExtension>
Installs the packages as described by a package.json file
| Constructor and description |
|---|
NpmPackageJsonInstall
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Provider<java.util.Map<String, String>> |
getEnvironment() |
|
Provider<File> |
getHomeDirProvider()The NPM home directory. |
|
protected NodeJSExtension |
getNodeExtension()Internal access to attached NodeJS extension. |
|
protected NpmExecutor |
getNpmExecutor() |
|
protected NpmExtension |
getNpmExtension()Internal access to attached NPM extension. |
|
protected NpmPackageInstaller |
getNpmPackageInstaller()Returns the NPM packer installer instance. |
The NPM home directory.
Internal access to attached NodeJS extension.
Internal access to attached NPM extension.
Returns the NPM packer installer instance.
This method is called from task actions and thus should be configuration cache safe.