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": { |
Ahmed Abbas | 1b8623b | 2019-12-05 15:50:20 +0200 | [diff] [blame] | 6 | "designer-client": { |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 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": { |
shaaban Altanany | 74ee6be | 2020-01-29 11:28:00 +0200 | [diff] [blame] | 16 | "outputPath": "../server/public", |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 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", |
AhmedEldeeb50 | 1882380 | 2020-05-02 18:06:36 +0200 | [diff] [blame] | 28 | "node_modules/ngx-toastr/toastr.css", |
Ahmed | e70a0e4 | 2020-02-24 20:10:40 +0200 | [diff] [blame] | 29 | "./node_modules/datatables.net-dt/css/jquery.dataTables.css", |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 30 | "./node_modules/bootstrap/dist/css/bootstrap.min.css", |
| 31 | "./node_modules/@angular/material/prebuilt-themes/purple-green.css", |
| 32 | "./node_modules/font-awesome/css/font-awesome.css", |
Arundathi Patil | 55b06b5 | 2019-11-25 15:41:45 +0530 | [diff] [blame] | 33 | "./node_modules/jointjs/css/layout.css", |
| 34 | "./node_modules/jointjs/css/themes/material.css", |
Ahmed Abbas | 4b3afd2 | 2019-12-11 14:14:11 +0200 | [diff] [blame] | 35 | "./node_modules/jointjs/css/themes/default.css" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 36 | ], |
| 37 | "scripts": [ |
Ahmed | e70a0e4 | 2020-02-24 20:10:40 +0200 | [diff] [blame] | 38 | "./node_modules/jquery/dist/jquery.js", |
| 39 | "./node_modules/datatables.net/js/jquery.dataTables.js", |
| 40 | "./node_modules/bootstrap/dist/js/bootstrap.js", |
shaaban Altanany | c9b0f84 | 2020-01-28 17:25:47 +0200 | [diff] [blame] | 41 | "./node_modules/ace-builds/src-min/ace.js", |
| 42 | "./node_modules/ace-builds/src-min/theme-eclipse.js", |
ahmedeldeeb50 | 0a907ab | 2020-02-13 12:09:13 +0200 | [diff] [blame] | 43 | "./node_modules/ace-builds/src-min/theme-tomorrow_night_bright.js", |
shaaban Altanany | c9b0f84 | 2020-01-28 17:25:47 +0200 | [diff] [blame] | 44 | "./node_modules/ace-builds/src-min/mode-json.js", |
| 45 | "./node_modules/ace-builds/src-min/mode-javascript.js", |
shaaban Altanany | c9b0f84 | 2020-01-28 17:25:47 +0200 | [diff] [blame] | 46 | "./node_modules/ace-builds/src-min/mode-xml.js", |
| 47 | "./node_modules/ace-builds/src-min/mode-kotlin.js", |
| 48 | "./node_modules/ace-builds/src-min/mode-text.js", |
| 49 | "./node_modules/ace-builds/src-min/mode-velocity.js", |
| 50 | "./node_modules/ace-builds/src-min/mode-yaml.js", |
| 51 | "./node_modules/ace-builds/src-min/theme-vibrant_ink.js", |
| 52 | "./node_modules/ace-builds/src-min/snippets/html.js", |
| 53 | "./node_modules/ace-builds/src-min/ext-beautify.js", |
| 54 | "./node_modules/ace-builds/src-min/ext-searchbox.js", |
| 55 | "./node_modules/ace-builds/src-min/ext-language_tools.js", |
ahmedeldeeb50 | 0a907ab | 2020-02-13 12:09:13 +0200 | [diff] [blame] | 56 | "./node_modules/ace-builds/src-min/worker-json.js", |
| 57 | "./node_modules/ace-builds/src-min/worker-javascript.js", |
Arundathi Patil | 55b06b5 | 2019-11-25 15:41:45 +0530 | [diff] [blame] | 58 | "./node_modules/lodash/index.js", |
| 59 | "./node_modules/backbone/backbone.js", |
| 60 | "./node_modules/jointjs/dist/joint.js" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 61 | ] |
| 62 | }, |
| 63 | "configurations": { |
| 64 | "production": { |
AhmedEldeeb50 | 1882380 | 2020-05-02 18:06:36 +0200 | [diff] [blame] | 65 | "fileReplacements": [{ |
| 66 | "replace": "src/environments/environment.ts", |
| 67 | "with": "src/environments/environment.prod.ts" |
| 68 | }], |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 69 | "optimization": true, |
| 70 | "outputHashing": "all", |
| 71 | "sourceMap": false, |
| 72 | "extractCss": true, |
| 73 | "namedChunks": false, |
| 74 | "aot": true, |
| 75 | "extractLicenses": true, |
| 76 | "vendorChunk": false, |
| 77 | "buildOptimizer": true, |
AhmedEldeeb50 | 1882380 | 2020-05-02 18:06:36 +0200 | [diff] [blame] | 78 | "budgets": [{ |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 79 | "type": "initial", |
AhmedEldeeb50 | db86f76 | 2020-06-24 18:13:34 +0200 | [diff] [blame] | 80 | "maximumWarning": "4mb", |
| 81 | "maximumError": "8mb" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 82 | }, |
| 83 | { |
| 84 | "type": "anyComponentStyle", |
Sarah Abouzainah | 705d822 | 2020-11-02 15:58:49 +0200 | [diff] [blame] | 85 | "maximumWarning": "25kb", |
| 86 | "maximumError": "30kb" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 87 | } |
| 88 | ] |
| 89 | } |
| 90 | } |
| 91 | }, |
| 92 | "serve": { |
| 93 | "builder": "@angular-devkit/build-angular:dev-server", |
| 94 | "options": { |
Ahmed Abbas | 1b8623b | 2019-12-05 15:50:20 +0200 | [diff] [blame] | 95 | "browserTarget": "designer-client:build" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 96 | }, |
| 97 | "configurations": { |
| 98 | "production": { |
Ahmed Abbas | 1b8623b | 2019-12-05 15:50:20 +0200 | [diff] [blame] | 99 | "browserTarget": "designer-client:build:production" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 100 | } |
| 101 | } |
| 102 | }, |
| 103 | "extract-i18n": { |
| 104 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 105 | "options": { |
Ahmed Abbas | 1b8623b | 2019-12-05 15:50:20 +0200 | [diff] [blame] | 106 | "browserTarget": "designer-client:build" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 107 | } |
| 108 | }, |
| 109 | "test": { |
| 110 | "builder": "@angular-devkit/build-angular:karma", |
| 111 | "options": { |
| 112 | "main": "src/test.ts", |
| 113 | "polyfills": "src/polyfills.ts", |
| 114 | "tsConfig": "tsconfig.spec.json", |
| 115 | "karmaConfig": "karma.conf.js", |
| 116 | "assets": [ |
| 117 | "src/favicon.ico", |
| 118 | "src/assets" |
| 119 | ], |
| 120 | "styles": [ |
| 121 | "src/styles.css", |
| 122 | "./node_modules/bootstrap/dist/css/bootstrap.min.css", |
| 123 | "./node_modules/@angular/material/prebuilt-themes/purple-green.css", |
Ahmed Abbas | 4b3afd2 | 2019-12-11 14:14:11 +0200 | [diff] [blame] | 124 | "./node_modules/font-awesome/css/font-awesome.css" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 125 | ], |
Sarah Abouzainah | 9860083 | 2020-04-22 22:55:39 +0200 | [diff] [blame] | 126 | "scripts": [] |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 127 | } |
| 128 | }, |
| 129 | "lint": { |
| 130 | "builder": "@angular-devkit/build-angular:tslint", |
| 131 | "options": { |
| 132 | "tsConfig": [ |
| 133 | "tsconfig.app.json", |
| 134 | "tsconfig.spec.json", |
| 135 | "e2e/tsconfig.json" |
| 136 | ], |
| 137 | "exclude": [ |
| 138 | "**/node_modules/**" |
| 139 | ] |
| 140 | } |
| 141 | }, |
| 142 | "e2e": { |
| 143 | "builder": "@angular-devkit/build-angular:protractor", |
| 144 | "options": { |
| 145 | "protractorConfig": "e2e/protractor.conf.js", |
Ahmed Abbas | 1b8623b | 2019-12-05 15:50:20 +0200 | [diff] [blame] | 146 | "devServerTarget": "designer-client:serve" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 147 | }, |
| 148 | "configurations": { |
| 149 | "production": { |
Ahmed Abbas | 1b8623b | 2019-12-05 15:50:20 +0200 | [diff] [blame] | 150 | "devServerTarget": "designer-client:serve:production" |
Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame] | 151 | } |
| 152 | } |
| 153 | } |
| 154 | } |
| 155 | } |
| 156 | }, |
Ahmed Abbas | 1b8623b | 2019-12-05 15:50:20 +0200 | [diff] [blame] | 157 | "defaultProject": "designer-client" |
Sarah Abouzainah | 705d822 | 2020-11-02 15:58:49 +0200 | [diff] [blame] | 158 | } |