elinuxhenrik | f507d92 | 2020-03-19 14:52:24 +0100 | [diff] [blame] | 1 | { |
| 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": { |
| 13 | "styleext": "scss" |
| 14 | } |
| 15 | }, |
| 16 | "architect": { |
| 17 | "build": { |
| 18 | "builder": "@angular-devkit/build-angular:browser", |
| 19 | "options": { |
| 20 | "outputPath": "dist/controlpanelApp", |
| 21 | "index": "src/index.html", |
| 22 | "main": "src/main.ts", |
| 23 | "polyfills": "src/polyfills.ts", |
| 24 | "tsConfig": "src/tsconfig.app.json", |
| 25 | "assets": [ |
| 26 | "src/favicon.ico", |
| 27 | "src/assets" |
| 28 | ], |
| 29 | "styles": [ |
| 30 | "node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss", |
| 31 | "node_modules/@fortawesome/fontawesome-free/scss/solid.scss", |
| 32 | "node_modules/@fortawesome/fontawesome-free/scss/regular.scss", |
| 33 | "node_modules/@fortawesome/fontawesome-free/scss/brands.scss", |
| 34 | "node_modules/angular-bootstrap-md/scss/bootstrap/bootstrap.scss", |
| 35 | "node_modules/angular-bootstrap-md/scss/mdb-free.scss", |
| 36 | "node_modules/material-design-icons/iconfont/material-icons.css", |
| 37 | "src/styles.scss", |
| 38 | "node_modules/ngx-toastr/toastr.css" |
| 39 | ], |
| 40 | "scripts": [ |
| 41 | "node_modules/chart.js/dist/Chart.js", |
| 42 | "node_modules/hammerjs/hammer.min.js" |
| 43 | ] |
| 44 | }, |
| 45 | "configurations": { |
| 46 | "production": { |
| 47 | "fileReplacements": [ |
| 48 | { |
| 49 | "replace": "src/environments/environment.ts", |
| 50 | "with": "src/environments/environment.prod.ts" |
| 51 | } |
| 52 | ], |
| 53 | "optimization": true, |
| 54 | "outputHashing": "all", |
| 55 | "sourceMap": false, |
| 56 | "extractCss": true, |
| 57 | "namedChunks": false, |
| 58 | "aot": true, |
| 59 | "extractLicenses": true, |
| 60 | "vendorChunk": false, |
| 61 | "buildOptimizer": true, |
| 62 | "budgets": [ |
| 63 | { |
| 64 | "type": "initial", |
| 65 | "maximumWarning": "2mb", |
| 66 | "maximumError": "5mb" |
| 67 | } |
| 68 | ] |
| 69 | } |
| 70 | } |
| 71 | }, |
| 72 | "serve": { |
| 73 | "builder": "@angular-devkit/build-angular:dev-server", |
| 74 | "options": { |
| 75 | "browserTarget": "controlpanelApp:build" |
| 76 | }, |
| 77 | "configurations": { |
| 78 | "production": { |
| 79 | "browserTarget": "controlpanelApp:build:production" |
| 80 | } |
| 81 | } |
| 82 | }, |
| 83 | "extract-i18n": { |
| 84 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 85 | "options": { |
| 86 | "browserTarget": "controlpanelApp:build" |
| 87 | } |
| 88 | }, |
| 89 | "test": { |
| 90 | "builder": "@angular-devkit/build-angular:karma", |
| 91 | "options": { |
| 92 | "main": "src/test.ts", |
| 93 | "polyfills": "src/polyfills.ts", |
| 94 | "tsConfig": "src/tsconfig.spec.json", |
| 95 | "karmaConfig": "src/karma.conf.js", |
| 96 | "styles": [ |
| 97 | "src/styles.css" |
| 98 | ], |
| 99 | "scripts": [], |
| 100 | "assets": [ |
| 101 | "src/favicon.ico", |
| 102 | "src/assets" |
| 103 | ] |
| 104 | } |
| 105 | }, |
| 106 | "lint": { |
| 107 | "builder": "@angular-devkit/build-angular:tslint", |
| 108 | "options": { |
| 109 | "tsConfig": [ |
| 110 | "src/tsconfig.app.json", |
| 111 | "src/tsconfig.spec.json" |
| 112 | ], |
| 113 | "exclude": [ |
| 114 | "**/node_modules/**" |
| 115 | ] |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | }, |
| 120 | "controlpanelApp-e2e": { |
| 121 | "root": "e2e/", |
| 122 | "projectType": "application", |
| 123 | "prefix": "", |
| 124 | "architect": { |
| 125 | "e2e": { |
| 126 | "builder": "@angular-devkit/build-angular:protractor", |
| 127 | "options": { |
| 128 | "protractorConfig": "e2e/protractor.conf.js", |
| 129 | "devServerTarget": "controlpanelApp:serve" |
| 130 | }, |
| 131 | "configurations": { |
| 132 | "production": { |
| 133 | "devServerTarget": "controlpanelApp:serve:production" |
| 134 | } |
| 135 | } |
| 136 | }, |
| 137 | "lint": { |
| 138 | "builder": "@angular-devkit/build-angular:tslint", |
| 139 | "options": { |
| 140 | "tsConfig": "e2e/tsconfig.e2e.json", |
| 141 | "exclude": [ |
| 142 | "**/node_modules/**" |
| 143 | ] |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | } |
| 148 | }, |
| 149 | "defaultProject": "controlpanelApp" |
| 150 | } |