Forward-port 3.5.0 upgrade script
[working/Evergreen.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       "architect": {
11         "build": {
12           "builder": "@angular-devkit/build-angular:browser",
13           "options": {
14             "baseHref": "/eg2/en-US",
15             "deployUrl": "/eg2/en-US/",
16             "outputPath": "../../web/eg2/en-US",
17             "index": "src/index.html",
18             "main": "src/main.ts",
19             "tsConfig": "src/tsconfig.app.json",
20             "polyfills": "src/polyfills.ts",
21             "assets": [
22               "src/assets",
23               "src/favicon.ico"
24             ],
25             "styles": [
26               "src/styles.css"
27             ],
28             "scripts": [
29               "src/assets/js/marcrecord.js"
30             ]
31           },
32           "configurations": {
33             "production": {
34               "optimization": true,
35               "outputHashing": "all",
36               "sourceMap": false,
37               "extractCss": true,
38               "namedChunks": false,
39               "aot": true,
40               "extractLicenses": true,
41               "vendorChunk": false,
42               "buildOptimizer": true,
43               "fileReplacements": [
44                 {
45                   "replace": "src/environments/environment.ts",
46                   "with": "src/environments/environment.prod.ts"
47                 }
48               ]
49             },
50             "production-cs-CZ": {
51               "optimization": true,
52               "outputHashing": "all",
53               "sourceMap": false,
54               "extractCss": true,
55               "namedChunks": false,
56               "aot": true,
57               "extractLicenses": true,
58               "vendorChunk": false,
59               "buildOptimizer": true,
60               "i18nFile": "src/locale/messages.cs-CZ.xtb",
61               "i18nFormat": "xtb",
62               "i18nLocale": "cs-CZ",
63               "i18nMissingTranslation": "ignore",
64               "fileReplacements": [
65                 {
66                   "replace": "src/environments/environment.ts",
67                   "with": "src/environments/environment.prod.ts"
68                 }
69               ]
70             }
71           }
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             "main": "src/test.ts",
94             "karmaConfig": "./karma.conf.js",
95             "polyfills": "src/polyfills.ts",
96             "tsConfig": "src/tsconfig.spec.json",
97             "scripts": [],
98             "styles": [
99               "src/styles.css"
100             ],
101             "assets": [
102               "src/assets",
103               "src/favicon.ico"
104             ]
105           }
106         },
107         "lint": {
108           "builder": "@angular-devkit/build-angular:tslint",
109           "options": {
110             "tsConfig": [
111               "src/tsconfig.app.json",
112               "src/tsconfig.spec.json"
113             ],
114             "exclude": [
115               "**/node_modules/**"
116             ]
117           }
118         }
119       }
120     },
121     "eg-e2e": {
122       "root": "",
123       "sourceRoot": "",
124       "projectType": "application",
125       "architect": {
126         "e2e": {
127           "builder": "@angular-devkit/build-angular:protractor",
128           "options": {
129             "protractorConfig": "./protractor.conf.js",
130             "devServerTarget": "eg:serve"
131           }
132         },
133         "lint": {
134           "builder": "@angular-devkit/build-angular:tslint",
135           "options": {
136             "tsConfig": [
137               "e2e/tsconfig.e2e.json"
138             ],
139             "exclude": [
140               "**/node_modules/**"
141             ]
142           }
143         }
144       }
145     }
146   },
147   "defaultProject": "eg",
148   "schematics": {
149     "@schematics/angular:component": {
150       "prefix": "eg",
151       "styleext": "css"
152     },
153     "@schematics/angular:directive": {
154       "prefix": "eg"
155     }
156   }
157 }