Add ./do commands for watching and locally building Storybook

[MAILPOET-2769]
This commit is contained in:
Ján Mikláš
2020-04-15 15:19:54 +02:00
committed by Veljko V
parent c223f83420
commit d811b68815
3 changed files with 10 additions and 1 deletions

View File

@@ -513,6 +513,14 @@ class RoboFile extends \Robo\Tasks {
->run();
}
public function storybookBuild() {
return $this->_exec('npm run build-storybook');
}
public function storybookWatch() {
return $this->_exec('npm run storybook');
}
public function svnCheckout() {
$svnDir = ".mp_svn";