]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/eg2/angular.json
LP2061136 - Stamping 1405 DB 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       "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         "nightwatch-run": {
116           "builder": "@nightwatch/schematics:nightwatch",
117           "options": {
118             "devServerTarget": "eg:serve",
119             "tsConfig": "../nightwatch/tsconfig.json",
120             "config": "./nightwatch.conf.js",
121             "env": "firefox"
122           },
123           "configurations": {
124             "production": {
125               "devServerTarget": "eg:serve:production"
126             }
127           }
128         },
129         "e2e": {
130           "builder": "@nightwatch/schematics:nightwatch",
131           "options": {
132             "devServerTarget": "eg:serve",
133             "tsConfig": "../nightwatch/tsconfig.json",
134             "config": "./nightwatch.conf.js",
135             "env": "firefox"
136           },
137           "configurations": {
138             "production": {
139               "devServerTarget": "eg:serve:production"
140             }
141           }
142         }
143       }
144     }
145   },
146   "defaultProject": "eg",
147   "schematics": {
148     "@schematics/angular:component": {
149       "prefix": "eg",
150       "style": "css"
151     },
152     "@schematics/angular:directive": {
153       "prefix": "eg"
154     }
155   },
156   "cli": {
157     "defaultCollection": "@angular-eslint/schematics",
158     "analytics": false
159   }
160 }