Im working with angular2 , so i need to build the src files (ng-build) and then want to copy the dist folder to server. for that im using shipit-deploy and shipit-npm and my configuration is
shipit.on('fetched', function () {
console.log("Started bundling for production . . .");
shipit.start('npm:cmd --cmd="ng build"');
console.log("Bundling finished.");
});
this config is throwing error as
Started bundling for production . . .
Task 'npm:cmd --cmd="ng build"' is not in your shipitfile
Im just now started using the shipit js. please help on this config
Im working with angular2 , so i need to build the src files (
ng-build
) and then want to copy the dist folder to server. for that im usingshipit-deploy
andshipit-npm
and my configuration isthis config is throwing error as
Im just now started using the shipit js. please help on this config