/ ui / angular.json
angular.json
  1  {
  2    "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3    "version": 1,
  4    "newProjectRoot": "projects",
  5    "projects": {
  6      "ui": {
  7        "projectType": "application",
  8        "schematics": {
  9          "@schematics/angular:application": {
 10            "strict": true
 11          }
 12        },
 13        "root": "",
 14        "sourceRoot": "src",
 15        "prefix": "app",
 16        "architect": {
 17          "build": {
 18            "builder": "@angular-devkit/build-angular:browser",
 19            "options": {
 20              "outputPath": "dist/ui",
 21              "index": "src/index.html",
 22              "main": "src/main.ts",
 23              "polyfills": "src/polyfills.ts",
 24              "tsConfig": "tsconfig.app.json",
 25              "assets": [
 26                "src/favicon.ico",
 27                "src/assets"
 28              ],
 29              "styles": [
 30                "src/styles.css"
 31              ],
 32              "scripts": []
 33            },
 34            "configurations": {
 35              "production": {
 36                "budgets": [
 37                  {
 38                    "type": "initial",
 39                    "maximumWarning": "500kb",
 40                    "maximumError": "1mb"
 41                  },
 42                  {
 43                    "type": "anyComponentStyle",
 44                    "maximumWarning": "2kb",
 45                    "maximumError": "4kb"
 46                  }
 47                ],
 48                "fileReplacements": [
 49                  {
 50                    "replace": "src/environments/environment.ts",
 51                    "with": "src/environments/environment.prod.ts"
 52                  }
 53                ],
 54                "outputHashing": "all"
 55              },
 56              "development": {
 57                "buildOptimizer": false,
 58                "optimization": false,
 59                "vendorChunk": true,
 60                "extractLicenses": false,
 61                "sourceMap": true,
 62                "namedChunks": true
 63              }
 64            },
 65            "defaultConfiguration": "production"
 66          },
 67          "serve": {
 68            "builder": "@angular-devkit/build-angular:dev-server",
 69            "options": {
 70              "browserTarget": "ui:build:development",
 71              "proxyConfig": "src/proxy.conf.json"
 72            },
 73            "configurations": {
 74              "production": {
 75                "browserTarget": "ui:build:production"
 76              },
 77              "development": {
 78                "browserTarget": "ui:build:development"
 79              }
 80            },
 81            "defaultConfiguration": "development"
 82          },
 83          "extract-i18n": {
 84            "builder": "@angular-devkit/build-angular:extract-i18n",
 85            "options": {
 86              "browserTarget": "ui:build"
 87            }
 88          },
 89          "test": {
 90            "builder": "@angular-devkit/build-angular:karma",
 91            "options": {
 92              "main": "src/test.ts",
 93              "polyfills": "src/polyfills.ts",
 94              "tsConfig": "tsconfig.spec.json",
 95              "karmaConfig": "karma.conf.js",
 96              "assets": [
 97                "src/favicon.ico",
 98                "src/assets"
 99              ],
100              "styles": [
101                "src/styles.css"
102              ],
103              "scripts": []
104            }
105          }
106        }
107      }
108    },
109    "defaultProject": "ui"
110  }