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