| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 1 | { |
| 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 3 | "version": 1, |
| 4 | "newProjectRoot": "projects", |
| 5 | "projects": { |
| 6 | "osm": { |
| 7 | "root": "", |
| 8 | "sourceRoot": "src", |
| 9 | "projectType": "application", |
| 10 | "prefix": "app", |
| 11 | "schematics": { |
| 12 | "@schematics/angular:component": { |
| Barath Kumar R | 5abb274 | 2020-11-22 20:15:10 +0530 | [diff] [blame^] | 13 | "styleext": "scss", |
| 14 | "style": "scss" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 15 | } |
| 16 | }, |
| 17 | "architect": { |
| 18 | "build": { |
| 19 | "builder": "@angular-devkit/build-angular:browser", |
| 20 | "options": { |
| 21 | "outputPath": "dist/osm", |
| 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 | "src/assets/scss/style.scss", |
| 32 | "node_modules/ol/ol.css", |
| 33 | "node_modules/@fortawesome/fontawesome-free/css/all.min.css" |
| 34 | ], |
| 35 | "scripts": [ |
| 36 | "src/assets/js/tar.js" |
| Barath Kumar R | 5abb274 | 2020-11-22 20:15:10 +0530 | [diff] [blame^] | 37 | ] |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 38 | }, |
| 39 | "configurations": { |
| 40 | "production": { |
| 41 | "fileReplacements": [ |
| 42 | { |
| 43 | "replace": "src/environments/environment.ts", |
| 44 | "with": "src/environments/environment.prod.ts" |
| 45 | } |
| 46 | ], |
| 47 | "optimization": true, |
| 48 | "outputHashing": "all", |
| 49 | "sourceMap": false, |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 50 | "namedChunks": false, |
| 51 | "aot": true, |
| 52 | "extractLicenses": true, |
| 53 | "vendorChunk": false, |
| 54 | "buildOptimizer": true, |
| 55 | "budgets": [ |
| 56 | { |
| 57 | "type": "initial", |
| 58 | "maximumWarning": "2mb", |
| 59 | "maximumError": "5mb" |
| 60 | } |
| 61 | ] |
| 62 | } |
| 63 | } |
| 64 | }, |
| 65 | "serve": { |
| 66 | "builder": "@angular-devkit/build-angular:dev-server", |
| 67 | "options": { |
| 68 | "browserTarget": "osm:build" |
| 69 | }, |
| 70 | "configurations": { |
| 71 | "production": { |
| 72 | "browserTarget": "osm:build:production" |
| 73 | } |
| 74 | } |
| 75 | }, |
| 76 | "extract-i18n": { |
| 77 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 78 | "options": { |
| 79 | "browserTarget": "osm:build" |
| 80 | } |
| 81 | }, |
| 82 | "test": { |
| 83 | "builder": "@angular-devkit/build-angular:karma", |
| 84 | "options": { |
| 85 | "main": "src/test.ts", |
| 86 | "polyfills": "src/polyfills.ts", |
| 87 | "tsConfig": "src/tsconfig.spec.json", |
| 88 | "karmaConfig": "src/karma.conf.js", |
| 89 | "styles": [ |
| 90 | "src/styles.css", |
| 91 | "node_modules/ol/ol.css" |
| 92 | ], |
| 93 | "scripts": [], |
| 94 | "assets": [ |
| 95 | "src/favicon.ico", |
| 96 | "src/assets" |
| 97 | ] |
| 98 | } |
| 99 | }, |
| 100 | "lint": { |
| 101 | "builder": "@angular-devkit/build-angular:tslint", |
| 102 | "options": { |
| 103 | "tsConfig": [ |
| 104 | "src/tsconfig.app.json", |
| 105 | "src/tsconfig.spec.json" |
| 106 | ], |
| 107 | "exclude": [ |
| 108 | "**/node_modules/**" |
| 109 | ] |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | }, |
| 114 | "osm-e2e": { |
| 115 | "root": "e2e/", |
| 116 | "projectType": "application", |
| 117 | "prefix": "", |
| 118 | "architect": { |
| 119 | "e2e": { |
| 120 | "builder": "@angular-devkit/build-angular:protractor", |
| 121 | "options": { |
| 122 | "protractorConfig": "e2e/protractor.conf.js", |
| 123 | "devServerTarget": "osm:serve" |
| 124 | }, |
| 125 | "configurations": { |
| 126 | "production": { |
| 127 | "devServerTarget": "osm:serve:production" |
| 128 | } |
| 129 | } |
| 130 | }, |
| 131 | "lint": { |
| 132 | "builder": "@angular-devkit/build-angular:tslint", |
| 133 | "options": { |
| 134 | "tsConfig": "e2e/tsconfig.e2e.json", |
| 135 | "exclude": [ |
| 136 | "**/node_modules/**" |
| 137 | ] |
| 138 | } |
| 139 | } |
| 140 | } |
| 141 | } |
| 142 | }, |
| 143 | "defaultProject": "osm" |
| 144 | } |