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