edit publish command

This commit is contained in:
Ibby
2017-02-16 22:05:23 -05:00
parent 6e7b087cff
commit ea697bd884
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -15,7 +15,10 @@ const FLAGS = '--access public --tag alpha'; // add any flags here if you want..
console.log('Publishing @ionic-native/core');
exec(`npm publish ${CORE} ${FLAGS}`)
.then(() => exec(`npm publish ${UTILS} ${FLAGS}`))
.then(() => {
console.log('Publishing @ionic-native/utils');
return exec(`npm publish ${UTILS} ${FLAGS}`)
})
.then(() => {
const PLUGINS = fs.readdirSync(PLUGINS_ROOT);