Docker issue
[eliot.git] / blueprints / common / eliot-ui / frontend-src / angular.json
1 {
2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3   "version": 1,
4   "newProjectRoot": "projects",
5   "projects": {
6     "eliotportal": {
7       "projectType": "application",
8       "schematics": {
9         "@schematics/angular:component": {
10           "style": "scss"
11         }
12       },
13       "root": "",
14       "sourceRoot": "src",
15       "prefix": "app",
16       "architect": {
17         "build": {
18           "builder": "@angular-devkit/build-angular:browser",
19           "options": {
20             "outputPath": "dist/eliotportal",
21             "index": "src/index.html",
22             "main": "src/main.ts",
23             "polyfills": "src/polyfills.ts",
24             "tsConfig": "tsconfig.app.json",
25             "aot": false,
26             "assets": [
27               "src/favicon.ico",
28               "src/assets"
29             ],
30             "styles": [
31               "./node_modules/bootstrap/dist/css/bootstrap.min.css",
32               "src/styles.scss"
33             ],
34             "scripts": ["node_modules/particles.js/particles.js"]
35           },
36           "configurations": {
37             "production": {
38               "fileReplacements": [
39                 {
40                   "replace": "src/environments/environment.ts",
41                   "with": "src/environments/environment.prod.ts"
42                 }
43               ],
44               "optimization": true,
45               "outputHashing": "all",
46               "sourceMap": false,
47               "extractCss": true,
48               "namedChunks": false,
49               "aot": true,
50               "extractLicenses": true,
51               "vendorChunk": false,
52               "buildOptimizer": true,
53               "budgets": [
54                 {
55                   "type": "initial",
56                   "maximumWarning": "4mb",
57                   "maximumError": "5mb"
58                 },
59                 {
60                   "type": "anyComponentStyle",
61                   "maximumWarning": "2mb",
62                   "maximumError": "2kb"
63                 }
64               ]
65             }
66           }
67         },
68         "serve": {
69           "builder": "@angular-devkit/build-angular:dev-server",
70           "options": {
71             "browserTarget": "eliotportal:build",
72             "proxyConfig": "proxy-conf.json"
73           },
74           "configurations": {
75             "production": {
76               "browserTarget": "eliotportal:build:production"
77             }
78           },
79           "scripts": [
80             "node_modules/particles.js/particles.js",
81             "node_modules/chart.js/dist/Chart.js"
82
83           ]
84         },
85         "extract-i18n": {
86           "builder": "@angular-devkit/build-angular:extract-i18n",
87           "options": {
88             "browserTarget": "eliotportal:build"
89           }
90         },
91         "test": {
92           "builder": "@angular-devkit/build-angular:karma",
93           "options": {
94             "main": "src/test.ts",
95             "polyfills": "src/polyfills.ts",
96             "tsConfig": "tsconfig.spec.json",
97             "karmaConfig": "karma.conf.js",
98             "assets": [
99               "src/favicon.ico",
100               "src/assets"
101             ],
102             "styles": [
103               "./node_modules/bootstrap/dist/css/bootstrap.min.css",
104               "src/styles.scss",
105               "node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss",
106               "node_modules/@fortawesome/fontawesome-free/scss/solid.scss",
107               "node_modules/@fortawesome/fontawesome-free/scss/regular.scss",
108               "node_modules/@fortawesome/fontawesome-free/scss/brands.scss",
109               "node_modules/angular-bootstrap-md/assets/scss/bootstrap/bootstrap.scss",
110               "node_modules/angular-bootstrap-md/assets/scss/mdb.scss",
111               "node_modules/animate.css/animate.css"
112             ],
113             "scripts": []
114           }
115         },
116         "lint": {
117           "builder": "@angular-devkit/build-angular:tslint",
118           "options": {
119             "tsConfig": [
120               "tsconfig.app.json",
121               "tsconfig.spec.json",
122               "e2e/tsconfig.json"
123             ],
124             "exclude": [
125               "**/node_modules/**"
126             ]
127           }
128         },
129         "e2e": {
130           "builder": "@angular-devkit/build-angular:protractor",
131           "options": {
132             "protractorConfig": "e2e/protractor.conf.js",
133             "devServerTarget": "eliotportal:serve"
134           },
135           "configurations": {
136             "production": {
137               "devServerTarget": "eliotportal:serve:production"
138             }
139           }
140         },
141         "deploy": {
142           "builder": "@angular/fire:deploy",
143           "options": {}
144         }
145       }
146     }
147   },
148   "defaultProject": "eliotportal"
149 }