update publishing process

This commit is contained in:
Philipp Kunz 2018-05-03 19:56:38 +02:00
parent bb36beb682
commit 734a21c925

View File

@ -69,9 +69,12 @@ let publish = async () => {
// -> build it // -> build it
await bash(`yarn install`); await bash(`yarn install`);
await bash(`yarn run build`); await bash(`yarn run build`);
await bash (`rm -r node_modules`)
// -> publish it // -> publish it
plugins.beautylog.log(`now invking npm to publish the package!`)
await bash(`npm publish ${npmAccessCliString}`); await bash(`npm publish ${npmAccessCliString}`);
plugins.beautylog.success(`Package was successfully published!`)
}; };
let install = async (): Promise<void> => { let install = async (): Promise<void> => {