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