added some log messages for publishing to npm

This commit is contained in:
Philipp Kunz 2016-05-30 03:06:18 +02:00
parent eef63f6b38
commit 2782a242be

View File

@ -8,8 +8,9 @@ let npmrcFileString = npmrcPrefix + npmToken;
export let publish = () => {
let done = plugins.q.defer();
plugins.beautylog.ok("Tests passed, now publishing to npm!");
plugins.smartfile.memory.toFs(npmrcFileString,{fileName:".npmrc",filePath:"/root/"});
plugins.shelljs.exec("npm publish");
plugins.beautylog.ok("Done!")
return done.promise;
};