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