github.com/in4it/ecs-deploy@v0.0.42-0.20240508120354-ed77ff16df25/webapp/angular.json (about)

     1  {
     2    "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
     3    "version": 1,
     4    "newProjectRoot": "projects",
     5    "projects": {
     6      "my-app": {
     7        "root": "",
     8        "sourceRoot": "src",
     9        "projectType": "application",
    10        "architect": {
    11          "build": {
    12            "builder": "@angular-devkit/build-angular:browser",
    13            "options": {
    14              "outputPath": "dist",
    15              "index": "src/index.html",
    16              "main": "src/main.ts",
    17              "tsConfig": "src/tsconfig.app.json",
    18              "polyfills": "src/polyfills.ts",
    19              "assets": [
    20                "src/assets",
    21                "src/favicon.ico"
    22              ],
    23              "styles": [
    24                "node_modules/bootstrap/dist/css/bootstrap.min.css",
    25                "src/styles.css"
    26              ],
    27              "scripts": [],
    28              "vendorChunk": true,
    29              "extractLicenses": false,
    30              "buildOptimizer": false,
    31              "sourceMap": true,
    32              "optimization": false,
    33              "namedChunks": true,
    34              "aot": true
    35            },
    36            "configurations": {
    37              "production": {
    38                "budgets": [
    39                  {
    40                    "type": "anyComponentStyle",
    41                    "maximumWarning": "6kb"
    42                  }
    43                ],
    44                "optimization": true,
    45                "outputHashing": "all",
    46                "sourceMap": false,
    47                "namedChunks": false,
    48                "extractLicenses": true,
    49                "vendorChunk": false,
    50                "buildOptimizer": true,
    51                "fileReplacements": [
    52                  {
    53                    "replace": "src/environments/environment.ts",
    54                    "with": "src/environments/environment.prod.ts"
    55                  }
    56                ]
    57              }
    58            },
    59            "defaultConfiguration": ""
    60          },
    61          "serve": {
    62            "builder": "@angular-devkit/build-angular:dev-server",
    63            "options": {
    64              "buildTarget": "my-app:build"
    65            },
    66            "configurations": {
    67              "production": {
    68                "buildTarget": "my-app:build:production"
    69              }
    70            }
    71          },
    72          "extract-i18n": {
    73            "builder": "@angular-devkit/build-angular:extract-i18n",
    74            "options": {
    75              "buildTarget": "my-app:build"
    76            }
    77          },
    78          "test": {
    79            "builder": "@angular-devkit/build-angular:karma",
    80            "options": {
    81              "main": "src/test.ts",
    82              "karmaConfig": "./karma.conf.js",
    83              "polyfills": "src/polyfills.ts",
    84              "tsConfig": "src/tsconfig.spec.json",
    85              "scripts": [],
    86              "styles": [
    87                "src/styles.css"
    88              ],
    89              "assets": [
    90                "src/assets",
    91                "src/favicon.ico"
    92              ]
    93            }
    94          },
    95          "lint": {
    96            "builder": "@angular-devkit/build-angular:tslint",
    97            "options": {
    98              "tsConfig": [
    99                "src/tsconfig.app.json",
   100                "src/tsconfig.spec.json"
   101              ],
   102              "exclude": [
   103                "**/node_modules/**"
   104              ]
   105            }
   106          }
   107        }
   108      },
   109      "my-app-e2e": {
   110        "root": "e2e",
   111        "sourceRoot": "e2e",
   112        "projectType": "application",
   113        "architect": {
   114          "e2e": {
   115            "builder": "@angular-devkit/build-angular:protractor",
   116            "options": {
   117              "protractorConfig": "./protractor.conf.js",
   118              "devServerTarget": "my-app:serve"
   119            }
   120          },
   121          "lint": {
   122            "builder": "@angular-devkit/build-angular:tslint",
   123            "options": {
   124              "tsConfig": [
   125                "e2e/tsconfig.e2e.json"
   126              ],
   127              "exclude": [
   128                "**/node_modules/**"
   129              ]
   130            }
   131          }
   132        }
   133      }
   134    },
   135    "schematics": {
   136      "@schematics/angular:component": {
   137        "prefix": "app",
   138        "style": "css"
   139      },
   140      "@schematics/angular:directive": {
   141        "prefix": "app"
   142      }
   143    },
   144    "cli": {
   145      "analytics": false
   146    }
   147  }