mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-07-16 00:00:04 +08:00
edit publish command
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@
|
||||
"build:modules": "node scripts/build/build.js",
|
||||
"clean": "rimraf dist",
|
||||
"shipit": "npm run build && gulp readmes && npm run npmpub",
|
||||
"npmpub": "sh scripts/build/publish.sh",
|
||||
"npmpub": "node scripts/build/publish.js",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
||||
"plugin:create": "gulp plugin:create"
|
||||
},
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user