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