Project

General

Profile

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