Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 1 | { |
| 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 3 | "version": 1, |
| 4 | "newProjectRoot": "projects", |
| 5 | "projects": { |
| 6 | "portal-FE-os": { |
| 7 | "root": "", |
| 8 | "sourceRoot": "src", |
| 9 | "projectType": "application", |
| 10 | "prefix": "app", |
| 11 | "schematics": { |
| 12 | "@schematics/angular:component": { |
| 13 | "prefix": "app", |
| 14 | "styleext": "scss" |
| 15 | } |
| 16 | }, |
| 17 | "architect": { |
| 18 | "build": { |
| 19 | "builder": "@angular-devkit/build-angular:browser", |
| 20 | "options": { |
| 21 | "outputPath": "dist/public", |
| 22 | "index": "src/index.html", |
| 23 | "main": "src/main.ts", |
| 24 | "polyfills": "src/polyfills.ts", |
| 25 | "tsConfig": "src/tsconfig.app.json", |
| 26 | "assets": [ |
| 27 | "src/favicon.ico", |
| 28 | "src/assets" |
| 29 | ], |
| 30 | "styles": [ |
| 31 | "node_modules/ionicons/dist/scss/ionicons.scss", |
| 32 | "node_modules/material-design-icons-iconfont/dist/material-design-icons.css", |
| 33 | "node_modules/jqtree/jqtree.css", |
| 34 | "src/styles/app.scss" |
| 35 | ], |
| 36 | "scripts": [ |
| 37 | "node_modules/jquery/dist/jquery.min.js", |
Sudarshan Kumar | 3f7386d | 2020-01-31 20:08:08 +0530 | [diff] [blame] | 38 | "node_modules/hammerjs/hammer.min.js", |
| 39 | "node_modules/jqtree/tree.jquery.js", |
Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 40 | "node_modules/systemjs/dist/s.js", |
| 41 | "node_modules/systemjs/dist/extras/named-register.js", |
| 42 | "node_modules/systemjs/dist/extras/amd.js", |
Sudarshan Kumar | 3f7386d | 2020-01-31 20:08:08 +0530 | [diff] [blame] | 43 | "src/app/shared/utils/utils.js" |
Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 44 | ] |
| 45 | }, |
| 46 | "configurations": { |
| 47 | "production": { |
| 48 | "fileReplacements": [ |
| 49 | { |
| 50 | "replace": "src/environments/environment.ts", |
| 51 | "with": "src/environments/environment.prod.ts" |
| 52 | } |
| 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 | { |
| 65 | "type": "initial", |
| 66 | "maximumWarning": "2mb", |
| 67 | "maximumError": "5mb" |
| 68 | } |
| 69 | ] |
| 70 | } |
| 71 | } |
| 72 | }, |
| 73 | "serve": { |
| 74 | "builder": "@angular-devkit/build-angular:dev-server", |
| 75 | "options": { |
| 76 | "browserTarget": "portal-FE-os:build" |
| 77 | }, |
| 78 | "configurations": { |
| 79 | "production": { |
| 80 | "browserTarget": "portal-FE-os:build:production" |
| 81 | } |
| 82 | } |
| 83 | }, |
| 84 | "extract-i18n": { |
| 85 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 86 | "options": { |
| 87 | "browserTarget": "portal-FE-os:build" |
| 88 | } |
| 89 | }, |
| 90 | "test": { |
| 91 | "builder": "@angular-devkit/build-angular:karma", |
| 92 | "options": { |
| 93 | "main": "src/test.ts", |
| 94 | "polyfills": "src/polyfills.ts", |
| 95 | "tsConfig": "src/tsconfig.spec.json", |
| 96 | "karmaConfig": "src/karma.conf.js", |
| 97 | "styles": [ |
| 98 | "node_modules/ionicons/dist/scss/ionicons.scss", |
| 99 | "node_modules/material-design-icons-iconfont/dist/material-design-icons.css", |
| 100 | "node_modules/jqtree/jqtree.css", |
| 101 | "src/styles/app.scss" |
| 102 | ], |
| 103 | "scripts": [ |
| 104 | "node_modules/jquery/dist/jquery.min.js", |
| 105 | "node_modules/hammerjs/hammer.min.js", |
| 106 | "node_modules/jqtree/tree.jquery.js", |
| 107 | "node_modules/systemjs/dist/s.js", |
| 108 | "node_modules/systemjs/dist/extras/named-register.js", |
| 109 | "node_modules/systemjs/dist/extras/amd.js", |
| 110 | "src/app/shared/utils/utils.js" |
| 111 | ], |
| 112 | "assets": [ |
| 113 | "src/favicon.ico", |
| 114 | "src/assets" |
| 115 | ] |
| 116 | } |
| 117 | }, |
| 118 | "lint": { |
| 119 | "builder": "@angular-devkit/build-angular:tslint", |
| 120 | "options": { |
| 121 | "tsConfig": [ |
| 122 | "src/tsconfig.app.json", |
| 123 | "src/tsconfig.spec.json" |
| 124 | ], |
| 125 | "exclude": [ |
| 126 | "**/node_modules/**" |
| 127 | ] |
| 128 | } |
| 129 | } |
| 130 | } |
| 131 | }, |
| 132 | "portal-FE-os-e2e": { |
| 133 | "root": "e2e/", |
| 134 | "projectType": "application", |
| 135 | "prefix": "", |
| 136 | "architect": { |
| 137 | "e2e": { |
| 138 | "builder": "@angular-devkit/build-angular:protractor", |
| 139 | "options": { |
| 140 | "protractorConfig": "e2e/protractor.conf.js", |
| 141 | "devServerTarget": "portal-FE-os:serve" |
| 142 | }, |
| 143 | "configurations": { |
| 144 | "production": { |
| 145 | "devServerTarget": "portal-FE-os:serve:production" |
| 146 | } |
| 147 | } |
| 148 | }, |
| 149 | "lint": { |
| 150 | "builder": "@angular-devkit/build-angular:tslint", |
| 151 | "options": { |
| 152 | "tsConfig": "e2e/tsconfig.e2e.json", |
| 153 | "exclude": [ |
| 154 | "**/node_modules/**" |
| 155 | ] |
| 156 | } |
| 157 | } |
| 158 | } |
| 159 | } |
| 160 | }, |
| 161 | "defaultProject": "portal-FE-os" |
| 162 | } |