blob: 817e32ce7df01dba26fafb037bbc019db5feb974 [file] [log] [blame]
elinuxhenrikf507d922020-03-19 14:52:24 +01001{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
6 "controlpanelApp": {
7 "root": "",
8 "sourceRoot": "src",
9 "projectType": "application",
10 "prefix": "rd",
11 "schematics": {
12 "@schematics/angular:component": {
elinuxhenrikad70d412021-02-15 14:38:02 +010013 "style": "scss"
14 }
15 },
elinuxhenrikf507d922020-03-19 14:52:24 +010016 "architect": {
17 "build": {
18 "builder": "@angular-devkit/build-angular:browser",
19 "options": {
elinuxhenrikad70d412021-02-15 14:38:02 +010020 "aot": true,
elinuxhenrikf507d922020-03-19 14:52:24 +010021 "outputPath": "dist/controlpanelApp",
22 "index": "src/index.html",
23 "main": "src/main.ts",
24 "polyfills": "src/polyfills.ts",
25 "tsConfig": "src/tsconfig.app.json",
26 "assets": [
27 "src/favicon.ico",
28 "src/assets"
29 ],
30 "styles": [
31 "node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss",
32 "node_modules/@fortawesome/fontawesome-free/scss/solid.scss",
33 "node_modules/@fortawesome/fontawesome-free/scss/regular.scss",
34 "node_modules/@fortawesome/fontawesome-free/scss/brands.scss",
elinuxhenrikf507d922020-03-19 14:52:24 +010035 "src/styles.scss",
36 "node_modules/ngx-toastr/toastr.css"
37 ],
38 "scripts": [
elinuxhenrikad70d412021-02-15 14:38:02 +010039 "node_modules/chart.js/dist/Chart.js",
40 "node_modules/hammerjs/hammer.min.js"
elinuxhenrikf507d922020-03-19 14:52:24 +010041 ]
42 },
43 "configurations": {
44 "production": {
45 "fileReplacements": [
46 {
47 "replace": "src/environments/environment.ts",
48 "with": "src/environments/environment.prod.ts"
49 }
50 ],
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 "budgets": [
61 {
62 "type": "initial",
63 "maximumWarning": "2mb",
64 "maximumError": "5mb"
elinuxhenrikad70d412021-02-15 14:38:02 +010065 },
66 {
67 "type": "anyComponentStyle",
68 "maximumWarning": "6kb"
elinuxhenrikf507d922020-03-19 14:52:24 +010069 }
70 ]
Lathishb339e7a2020-12-08 21:55:51 +000071 },
72 "mock": {
elinuxhenrikad70d412021-02-15 14:38:02 +010073 "budgets": [
74 {
75 "type": "anyComponentStyle",
76 "maximumWarning": "6kb"
77 }
78 ],
Lathishb339e7a2020-12-08 21:55:51 +000079 "fileReplacements": [
80 {
81 "replace": "src/environments/environment.ts",
82 "with": "src/environments/environment.mock.ts"
83 }
84 ]
elinuxhenrikf507d922020-03-19 14:52:24 +010085 }
86 }
87 },
88 "serve": {
89 "builder": "@angular-devkit/build-angular:dev-server",
90 "options": {
91 "browserTarget": "controlpanelApp:build"
92 },
93 "configurations": {
94 "production": {
95 "browserTarget": "controlpanelApp:build:production"
Lathishb339e7a2020-12-08 21:55:51 +000096 },
97 "mock": {
98 "browserTarget": "controlpanelApp:build:mock"
elinuxhenrikf507d922020-03-19 14:52:24 +010099 }
100 }
101 },
102 "extract-i18n": {
103 "builder": "@angular-devkit/build-angular:extract-i18n",
104 "options": {
105 "browserTarget": "controlpanelApp:build"
106 }
107 },
108 "test": {
109 "builder": "@angular-devkit/build-angular:karma",
110 "options": {
111 "main": "src/test.ts",
112 "polyfills": "src/polyfills.ts",
113 "tsConfig": "src/tsconfig.spec.json",
114 "karmaConfig": "src/karma.conf.js",
115 "styles": [
116 "src/styles.css"
117 ],
118 "scripts": [],
119 "assets": [
120 "src/favicon.ico",
121 "src/assets"
122 ]
123 }
124 },
125 "lint": {
126 "builder": "@angular-devkit/build-angular:tslint",
127 "options": {
128 "tsConfig": [
129 "src/tsconfig.app.json",
130 "src/tsconfig.spec.json"
131 ],
132 "exclude": [
133 "**/node_modules/**"
134 ]
135 }
136 }
137 }
138 },
139 "controlpanelApp-e2e": {
140 "root": "e2e/",
141 "projectType": "application",
142 "prefix": "",
143 "architect": {
144 "e2e": {
145 "builder": "@angular-devkit/build-angular:protractor",
146 "options": {
147 "protractorConfig": "e2e/protractor.conf.js",
148 "devServerTarget": "controlpanelApp:serve"
149 },
150 "configurations": {
151 "production": {
152 "devServerTarget": "controlpanelApp:serve:production"
153 }
154 }
155 },
156 "lint": {
157 "builder": "@angular-devkit/build-angular:tslint",
158 "options": {
159 "tsConfig": "e2e/tsconfig.e2e.json",
160 "exclude": [
161 "**/node_modules/**"
162 ]
163 }
164 }
165 }
166 }
167 },
ecaiyanlinuxac52ed82021-02-23 13:48:13 +0100168 "defaultProject": "controlpanelApp",
169 "cli": {
170 "analytics": false
171 }
elinuxhenrikad70d412021-02-15 14:38:02 +0100172}