]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/angular.json
650083a129b5cdecc325190dd6954899dc71b721
[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             "aot": true,
15             "baseHref": "/eg2/en-US",
16             "deployUrl": "/eg2/en-US/",
17             "outputPath": "../../web/eg2/en-US",
18             "index": "src/index.html",
19             "main": "src/main.ts",
20             "tsConfig": "src/tsconfig.app.json",
21             "polyfills": "src/polyfills.ts",
22             "assets": [
23               "src/assets",
24               "src/favicon.ico"
25             ],
26             "styles": [
27               "src/styles.css"
28             ],
29             "scripts": [
30               "src/assets/js/marcrecord.js"
31             ],
32             "allowedCommonJsDependencies": [
33               "file-saver",
34               "moment",
35               "moment-timezone"
36             ]
37           },
38           "configurations": {
39             "production": {
40               "optimization": true,
41               "outputHashing": "all",
42               "sourceMap": false,
43               "extractCss": true,
44               "namedChunks": false,
45               "aot": true,
46               "extractLicenses": true,
47               "vendorChunk": false,
48               "buildOptimizer": true,
49               "fileReplacements": [
50                 {
51                   "replace": "src/environments/environment.ts",
52                   "with": "src/environments/environment.prod.ts"
53                 }
54               ]
55             },
56             "production-cs-CZ": {
57               "optimization": true,
58               "outputHashing": "all",
59               "sourceMap": false,
60               "extractCss": true,
61               "namedChunks": false,
62               "aot": true,
63               "extractLicenses": true,
64               "vendorChunk": false,
65               "buildOptimizer": true,
66               "i18nFile": "src/locale/messages.cs-CZ.xtb",
67               "i18nFormat": "xtb",
68               "i18nLocale": "cs-CZ",
69               "i18nMissingTranslation": "ignore",
70               "fileReplacements": [
71                 {
72                   "replace": "src/environments/environment.ts",
73                   "with": "src/environments/environment.prod.ts"
74                 }
75               ]
76             }
77           }
78         },
79         "serve": {
80           "builder": "@angular-devkit/build-angular:dev-server",
81           "options": {
82             "browserTarget": "eg:build"
83           },
84           "configurations": {
85             "production": {
86               "browserTarget": "eg:build:production"
87             }
88           }
89         },
90         "extract-i18n": {
91           "builder": "@angular-devkit/build-angular:extract-i18n",
92           "options": {
93             "browserTarget": "eg:build"
94           }
95         },
96         "test": {
97           "builder": "@angular-devkit/build-angular:karma",
98           "options": {
99             "main": "src/test.ts",
100             "karmaConfig": "./karma.conf.js",
101             "polyfills": "src/polyfills.ts",
102             "tsConfig": "src/tsconfig.spec.json",
103             "scripts": [],
104             "styles": [
105               "src/styles.css"
106             ],
107             "assets": [
108               "src/assets",
109               "src/favicon.ico"
110             ]
111           }
112         },
113         "lint": {
114           "builder": "@angular-devkit/build-angular:tslint",
115           "options": {
116             "tsConfig": [
117               "src/tsconfig.app.json",
118               "src/tsconfig.spec.json"
119             ],
120             "exclude": [
121               "**/node_modules/**"
122             ]
123           }
124         }
125       }
126     },
127     "eg-e2e": {
128       "root": "",
129       "sourceRoot": "",
130       "projectType": "application",
131       "architect": {
132         "e2e": {
133           "builder": "@angular-devkit/build-angular:protractor",
134           "options": {
135             "protractorConfig": "./protractor.conf.js",
136             "devServerTarget": "eg:serve"
137           }
138         },
139         "lint": {
140           "builder": "@angular-devkit/build-angular:tslint",
141           "options": {
142             "tsConfig": [
143               "e2e/tsconfig.e2e.json"
144             ],
145             "exclude": [
146               "**/node_modules/**"
147             ]
148           }
149         }
150       }
151     }
152   },
153   "defaultProject": "eg",
154   "schematics": {
155     "@schematics/angular:component": {
156       "prefix": "eg",
157       "styleext": "css"
158     },
159     "@schematics/angular:directive": {
160       "prefix": "eg"
161     }
162   }
163 }