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