Project

General

Profile

1
{
2
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
  "version": 1,
4
  "newProjectRoot": "projects",
5
  "projects": {
6
    "monitor": {
7
      "root": "",
8
      "sourceRoot": "src",
9
      "projectType": "application",
10
      "prefix": "app",
11
      "schematics": {
12
        "@schematics/angular:class": {
13
          "skipTests": true
14
        },
15
        "@schematics/angular:component": {
16
          "skipTests": true
17
        },
18
        "@schematics/angular:directive": {
19
          "skipTests": true
20
        },
21
        "@schematics/angular:guard": {
22
          "skipTests": true
23
        },
24
        "@schematics/angular:module": {
25
          "skipTests": true
26
        },
27
        "@schematics/angular:pipe": {
28
          "skipTests": true
29
        },
30
        "@schematics/angular:service": {
31
          "skipTests": true
32
        }
33
      },
34
      "architect": {
35
        "build": {
36
          "builder": "@angular-devkit/build-angular:browser",
37
          "options": {
38
            "aot": true,
39
            "outputPath": "dist/monitor/browser",
40
            "index": "src/index.html",
41
            "main": "src/main.ts",
42
            "polyfills": "src/polyfills.ts",
43
            "tsConfig": "src/tsconfig.app.json",
44
            "assets": [
45
              "src/assets",
46
              "src/robots.txt",
47
              "src/sitemap.xml"
48
            ],
49
            "styles": [
50
              "src/styles.css",
51
              "src/material.scss"
52
            ],
53
            "scripts": [
54
              "src/assets/common-assets/common/jquery.js",
55
              "src/assets/common-assets/common/uikit.min.js",
56
              "src/assets/common-assets/common/uikit-icons.min.js",
57
              "node_modules/jquery/dist/jquery.js"
58
            ]
59
          },
60
          "configurations": {
61
            "development": {
62
              "optimization": true,
63
              "outputHashing": "all",
64
              "sourceMap": false,
65
              "namedChunks": false,
66
              "aot": true,
67
              "extractLicenses": true,
68
              "vendorChunk": false,
69
              "buildOptimizer": true,
70
              "budgets": [
71
                {
72
                  "type": "initial",
73
                  "maximumWarning": "2mb",
74
                  "maximumError": "5mb"
75
                },
76
                {
77
                  "type": "anyComponentStyle",
78
                  "maximumWarning": "6kb"
79
                }
80
              ]
81
            },
82
            "beta": {
83
              "fileReplacements": [
84
                {
85
                  "replace": "src/environments/environment.ts",
86
                  "with": "src/environments/environment.beta.ts"
87
                }
88
              ],
89
              "optimization": true,
90
              "outputHashing": "all",
91
              "sourceMap": false,
92
              "namedChunks": false,
93
              "aot": true,
94
              "extractLicenses": true,
95
              "vendorChunk": false,
96
              "buildOptimizer": true,
97
              "budgets": [
98
                {
99
                  "type": "initial",
100
                  "maximumWarning": "2mb",
101
                  "maximumError": "5mb"
102
                },
103
                {
104
                  "type": "anyComponentStyle",
105
                  "maximumWarning": "6kb"
106
                }
107
              ]
108
            },
109
            "production": {
110
              "assets": [
111
                "src/assets",
112
                {
113
                  "input": "src/prod/",
114
                  "output": "/",
115
                  "glob": "*.txt"
116
                },
117
                "src/sitemap.xml"
118
              ],
119
              "index": {
120
                "input": "src/prod/index.html",
121
                "output": "index.html"
122
              },
123
              "fileReplacements": [
124
                {
125
                  "replace": "src/environments/environment.ts",
126
                  "with": "src/environments/environment.prod.ts"
127
                }
128
              ],
129
              "optimization": true,
130
              "outputHashing": "all",
131
              "sourceMap": false,
132
              "namedChunks": false,
133
              "aot": true,
134
              "extractLicenses": true,
135
              "vendorChunk": false,
136
              "buildOptimizer": true,
137
              "budgets": [
138
                {
139
                  "type": "initial",
140
                  "maximumWarning": "2mb",
141
                  "maximumError": "5mb"
142
                },
143
                {
144
                  "type": "anyComponentStyle",
145
                  "maximumWarning": "6kb"
146
                }
147
              ]
148
            }
149
          }
150
        },
151
        "serve": {
152
          "builder": "@angular-devkit/build-angular:dev-server",
153
          "options": {
154
            "browserTarget": "monitor:build"
155
          },
156
          "configurations": {
157
            "production": {
158
              "browserTarget": "monitor:build:production"
159
            }
160
          }
161
        },
162
        "extract-i18n": {
163
          "builder": "@angular-devkit/build-angular:extract-i18n",
164
          "options": {
165
            "browserTarget": "monitor:build"
166
          }
167
        },
168
        "test": {
169
          "builder": "@angular-devkit/build-angular:karma",
170
          "options": {
171
            "main": "src/test.ts",
172
            "polyfills": "src/polyfills.ts",
173
            "tsConfig": "src/tsconfig.spec.json",
174
            "karmaConfig": "src/karma.conf.js",
175
            "styles": [
176
              "src/styles.css"
177
            ],
178
            "scripts": [],
179
            "assets": [
180
              "src/assets"
181
            ]
182
          }
183
        },
184
        "lint": {
185
          "builder": "@angular-devkit/build-angular:tslint",
186
          "options": {
187
            "tsConfig": [
188
              "src/tsconfig.app.json",
189
              "src/tsconfig.spec.json"
190
            ],
191
            "exclude": [
192
              "**/node_modules/**"
193
            ]
194
          }
195
        },
196
        "server": {
197
          "builder": "@angular-devkit/build-angular:server",
198
          "options": {
199
            "outputPath": "dist/monitor/server",
200
            "main": "server.ts",
201
            "tsConfig": "src/tsconfig.server.json"
202
          },
203
          "configurations": {
204
            "development": {
205
              "outputHashing": "media",
206
              "sourceMap": false,
207
              "optimization": true
208
            },
209
            "beta": {
210
              "outputHashing": "media",
211
              "fileReplacements": [
212
                {
213
                  "replace": "src/environments/environment.ts",
214
                  "with": "src/environments/environment.beta.ts"
215
                }
216
              ],
217
              "sourceMap": false,
218
              "optimization": true
219
            },
220
            "production": {
221
              "outputHashing": "media",
222
              "fileReplacements": [
223
                {
224
                  "replace": "src/environments/environment.ts",
225
                  "with": "src/environments/environment.prod.ts"
226
                }
227
              ],
228
              "sourceMap": false,
229
              "optimization": true
230
            }
231
          }
232
        },
233
        "serve-ssr": {
234
          "builder": "@nguniversal/builders:ssr-dev-server",
235
          "options": {
236
            "browserTarget": "monitor:build",
237
            "serverTarget": "monitor:server"
238
          },
239
          "configurations": {
240
            "production": {
241
              "browserTarget": "monitor:build:production",
242
              "serverTarget": "monitor:server:production"
243
            }
244
          }
245
        },
246
        "prerender": {
247
          "builder": "@nguniversal/builders:prerender",
248
          "options": {
249
            "browserTarget": "monitor:build:production",
250
            "serverTarget": "monitor:server:production",
251
            "routes": [
252
              "/"
253
            ]
254
          },
255
          "configurations": {
256
            "production": {}
257
          }
258
        }
259
      }
260
    },
261
    "monitor-e2e": {
262
      "root": "e2e/",
263
      "projectType": "application",
264
      "prefix": "",
265
      "architect": {
266
        "e2e": {
267
          "builder": "@angular-devkit/build-angular:protractor",
268
          "options": {
269
            "protractorConfig": "e2e/protractor.conf.js",
270
            "devServerTarget": "monitor:serve"
271
          },
272
          "configurations": {
273
            "production": {
274
              "devServerTarget": "monitor:serve:production"
275
            }
276
          }
277
        },
278
        "lint": {
279
          "builder": "@angular-devkit/build-angular:tslint",
280
          "options": {
281
            "tsConfig": "e2e/tsconfig.e2e.json",
282
            "exclude": [
283
              "**/node_modules/**"
284
            ]
285
          }
286
        }
287
      }
288
    }
289
  },
290
  "defaultProject": "monitor"
291
}
(3-3/7)