-
Notifications
You must be signed in to change notification settings - Fork 6
Tool Npm
Roman edited this page Mar 3, 2023
·
2 revisions
This tool is a wrapper for running Npm.
Examples:
// Install
installSettings = >tools.NpmInstallSettings{
PackageSpec: "[email protected]",
SaveDev: true,
SaveExact: true,
}
installSettings.OutputToConsole = true
err := gotaskr.Tools.Npm.Install(installSettings)
// Shortcut for run to simply run a script
err := gotaskr.Tools.Npm.RunScript(true, "cy:build")