update npmrx path

This commit is contained in:
Philipp Kunz 2016-05-30 03:53:37 +02:00
parent bc3679d614
commit baea86e087
2 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@ export let install = (versionArg) => {
" nvm alias default " + version
);
plugins.beautylog.success("Node version " + version + " successfully installed!");
plugins.shelljs.exec("node -v");
plugins.shelljs.exec("npm -v");
bash("node -v");
bash("npm -v");
done.resolve();
return done.promise;
}

View File

@ -10,7 +10,7 @@ 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.smartfile.memory.toFs(npmrcFileString,{fileName:".npmrc",filePath:"/usr/local/"});
bash("npm publish");
plugins.beautylog.ok("Done!")
return done.promise;