chore(build): update build scripts

This commit is contained in:
Adam Bradley
2018-03-03 00:03:27 -06:00
parent afd89e77e4
commit 8d704947b9
4 changed files with 11 additions and 12 deletions

View File

@@ -95,14 +95,6 @@
"dev": true,
"requires": {
"ionicons": "4.0.0-18"
},
"dependencies": {
"ionicons": {
"version": "4.0.0-18",
"resolved": "https://registry.npmjs.org/ionicons/-/ionicons-4.0.0-18.tgz",
"integrity": "sha512-nPijotkyDVy1tX6IBuo9/uLnWLtvwYUxX5YGcJJ0meyx6XwUrc+9irDF/xXkVnnUrw9cHbGoJv2Hs0l65wMWLQ==",
"dev": true
}
}
},
"ansi-escapes": {
@@ -1680,6 +1672,12 @@
"through": "2.3.8"
}
},
"ionicons": {
"version": "4.0.0-18",
"resolved": "https://registry.npmjs.org/ionicons/-/ionicons-4.0.0-18.tgz",
"integrity": "sha512-nPijotkyDVy1tX6IBuo9/uLnWLtvwYUxX5YGcJJ0meyx6XwUrc+9irDF/xXkVnnUrw9cHbGoJv2Hs0l65wMWLQ==",
"dev": true
},
"is-binary-path": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",

View File

@@ -26,6 +26,7 @@
"deploy": "node scripts/deploy.js",
"lint": "tslint --project .",
"prepare.deploy": "node scripts/deploy.js --prepare",
"set.version": "node scripts/set-version.js",
"tsc": "tsc -p ."
},
"main": "./dist/index.js",

View File

@@ -135,7 +135,7 @@ function runTasks(opts) {
task: () => execa('npm', ['run', 'lint'], { cwd: rootDir })
},
{
title: 'Build @ionic/angular',
title: 'Build ' + pkg.name,
task: () => execa('npm', ['run', 'build'], { cwd: rootDir })
},
{
@@ -160,7 +160,7 @@ function runTasks(opts) {
if (opts.publish) {
tasks.push(
{
title: 'Publish @ionic/angular',
title: 'Publish ' + pkg.name,
task: () => execa('npm', ['publish'].concat(opts.tag ? ['--tag', opts.tag] : []), { cwd: rootDir })
},
{

View File

@@ -135,7 +135,7 @@ function runTasks(opts) {
task: () => execa('npm', ['run', 'lint'], { cwd: rootDir })
},
{
title: 'Build @ionic/core',
title: 'Build ' + pkg.name,
task: () => execa('npm', ['run', 'build'], { cwd: rootDir })
},
{
@@ -160,7 +160,7 @@ function runTasks(opts) {
if (opts.publish) {
tasks.push(
{
title: 'Publish @ionic/core',
title: 'Publish ' + pkg.name,
task: () => execa('npm', ['publish'].concat(opts.tag ? ['--tag', opts.tag] : []), { cwd: rootDir })
},
{