mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(build): update build scripts
This commit is contained in:
14
packages/angular/package-lock.json
generated
14
packages/angular/package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
4
packages/angular/scripts/deploy.js
vendored
4
packages/angular/scripts/deploy.js
vendored
@@ -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 })
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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 })
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user