mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
30 lines
1.8 KiB
JSON
30 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"name": "deploy",
|
||
|
|
"command": "ng deploy [project]",
|
||
|
|
"shortDescription": "Invokes the deploy builder for a specified project or for the default project in the workspace.",
|
||
|
|
"longDescriptionRelativePath": "@angular/cli/src/commands/deploy/long-description.md",
|
||
|
|
"longDescription": "The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.\nWhen a project name is not supplied, executes the `deploy` builder for the default project.\n\nTo use the `ng deploy` command, use `ng add` to add a package that implements deployment capabilities to your favorite platform.\nAdding the package automatically updates your workspace configuration, adding a deployment\n[CLI builder](guide/cli-builder).\nFor example:\n\n```json\n\"projects\": {\n \"my-project\": {\n ...\n \"architect\": {\n ...\n \"deploy\": {\n \"builder\": \"@angular/fire:deploy\",\n \"options\": {}\n }\n }\n }\n}\n```\n",
|
||
|
|
"aliases": [],
|
||
|
|
"deprecated": false,
|
||
|
|
"options": [
|
||
|
|
{
|
||
|
|
"name": "configuration",
|
||
|
|
"type": "string",
|
||
|
|
"aliases": [
|
||
|
|
"c"
|
||
|
|
],
|
||
|
|
"description": "One or more named builder configurations as a comma-separated list as specified in the \"configurations\" section in angular.json.\nThe builder uses the named configurations to run the given target.\nFor more information, see https://angular.io/guide/workspace-config#alternate-build-configurations."
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "help",
|
||
|
|
"type": "boolean",
|
||
|
|
"description": "Shows a help message for this command in the console."
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "project",
|
||
|
|
"type": "string",
|
||
|
|
"description": "The name of the project to build. Can be an application or a library.",
|
||
|
|
"positional": 0
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|