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 " nvm alias default " + version
); );
plugins.beautylog.success("Node version " + version + " successfully installed!"); plugins.beautylog.success("Node version " + version + " successfully installed!");
plugins.shelljs.exec("node -v"); bash("node -v");
plugins.shelljs.exec("npm -v"); bash("npm -v");
done.resolve(); done.resolve();
return done.promise; return done.promise;
} }

View File

@ -10,7 +10,7 @@ let npmrcFileString = npmrcPrefix + npmToken;
export let publish = () => { export let publish = () => {
let done = plugins.q.defer(); let done = plugins.q.defer();
plugins.beautylog.ok("Tests passed, now publishing to npm!"); 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"); bash("npm publish");
plugins.beautylog.ok("Done!") plugins.beautylog.ok("Done!")
return done.promise; return done.promise;