now creating .npmrc sync

This commit is contained in:
Philipp Kunz 2016-05-30 04:25:52 +02:00
parent 69f93bb817
commit 6101d716c1

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