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