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