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