diff --git a/src/Robo/Plugin/Commands/NpmCommand.php b/src/Robo/Plugin/Commands/NpmCommand.php new file mode 100644 index 0000000..7408323 --- /dev/null +++ b/src/Robo/Plugin/Commands/NpmCommand.php @@ -0,0 +1,29 @@ + + * + * @param $args The npm command you would like to execute. + */ + public function npm(array $args) { + $env = Robo::config()->get('local_environment'); + $this->taskExec("$env npm")->args($args)->run(); + } + +}