Using the gradle node plugin com.github.node-gradle.node, how do I pass a command line option to the NpmInstallTask?
Background: For security reasons, I want to pass "--ignore-scripts".
Using the gradle node plugin com.github.node-gradle.node, how do I pass a command line option to the NpmInstallTask?
Background: For security reasons, I want to pass "--ignore-scripts".
The
npmCommandinNpmInstallTaskinherited from NpmTask is a listPropertyIf you set that to
["install", "--ignore-scripts"]it should be correctly passed