JSON Schema Property 'apps'

Description

Properties of the different applications in this project.

Diagram

Drilldown into /properties/apps/items[0]JSON Schema Diagram of /properties/apps

Value

Array

Array Index Type Description
1-n object /properties/apps/items[0]

Source

"apps": {
    "type": "array",
    "description": "Properties of the different applications in this project.",
    "additionalProperties": false,
    "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
            "name": {
                "type": "string",
                "description": "Name of the app."
            },
            "root": {
                "type": "string",
                "description": "The root directory of the app."
            },
            "outDir": {
                "type": "string",
                "description": "The output directory for build results.",
                "default": "dist/"
            },
            "assets": {
                "type": "array",
                "description": "List of application assets.",
                "default": [],
                "items": {
                    "oneOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                                "glob": {
                                    "type": "string",
                                    "description": "The pattern to match.",
                                    "default": ""
                                },
                                "input": {
                                    "type": "string",
                                    "description": "The dir to search within.",
                                    "default": ""
                                },
                                "output": {
                                    "type": "string",
                                    "description": "The output path (relative to the outDir).",
                                    "default": ""
                                }
                            }
                        }
                    ]
                }
            },
            "deployUrl": {
                "type": "string",
                "description": "URL where files will be deployed."
            },
            "baseHref": {
                "type": "string",
                "description": "Base url for the application being built."
            },
            "index": {
                "type": "string",
                "description": "The name of the start HTML file.",
                "default": "index.html"
            },
            "main": {
                "type": "string",
                "description": "The name of the main entry-point file."
            },
            "polyfills": {
                "type": "string",
                "description": "The name of the polyfills file."
            },
            "test": {
                "type": "string",
                "description": "The name of the test entry-point file."
            },
            "tsconfig": {
                "type": "string",
                "description": "The name of the TypeScript configuration file.",
                "default": "tsconfig.app.json"
            },
            "testTsconfig": {
                "type": "string",
                "description": "The name of the TypeScript configuration file for unit tests."
            },
            "prefix": {
                "type": "string",
                "description": "The prefix to apply to generated selectors."
            },
            "serviceWorker": {
                "type": "boolean",
                "description": "Experimental support for a service worker from @angular/service-worker.",
                "default": false
            },
            "styles": {
                "type": "array",
                "description": "Global styles to be included in the build.",
                "additionalProperties": false,
                "items": {
                    "oneOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "object",
                            "additionalProperties": true,
                            "properties": {
                                "input": {
                                    "type": "string"
                                }
                            }
                        }
                    ]
                }
            },
            "stylePreprocessorOptions": {
                "type": "object",
                "description": "Options to pass to style preprocessors",
                "additionalProperties": false,
                "properties": {
                    "includePaths": {
                        "type": "array",
                        "description": "Paths to include. Paths will be resolved to project root.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "scripts": {
                "type": "array",
                "description": "Global scripts to be included in the build.",
                "additionalProperties": false,
                "items": {
                    "oneOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "object",
                            "additionalProperties": true,
                            "properties": {
                                "input": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "input"
                            ]
                        }
                    ]
                }
            },
            "environmentSource": {
                "type": "string",
                "description": "Source file for environment config."
            },
            "environments": {
                "type": "object",
                "description": "Name and corresponding file for environment config.",
                "additionalProperties": true
            }
        }
    }
}
https://raw.githubusercontent.com/angular/angular-cli/master/packages/@angular/cli/lib/config/schema.json (26:11)

References

Documentation for .angular-cli.json
Generated using Liquid Studio 2018 - Developer Bundle Edition 16.0.0.0