| 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 | "style": "scss" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 14 | } |
| 15 | }, |
| 16 | "architect": { |
| 17 | "build": { |
| 18 | "builder": "@angular-devkit/build-angular:browser", |
| 19 | "options": { |
| 20 | "outputPath": "dist/osm", |
| 21 | "index": "src/index.html", |
| 22 | "main": "src/main.ts", |
| 23 | "polyfills": "src/polyfills.ts", |
| 24 | "tsConfig": "src/tsconfig.app.json", |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 25 | "allowedCommonJsDependencies": [ |
| 26 | "chart.js", |
| 27 | "ng-sidebar", |
| 28 | "@ctrl/ngx-codemirror", |
| 29 | "rbush", |
| 30 | "lodash", |
| 31 | "jsonpath", |
| 32 | "codemirror", |
| 33 | "pako", |
| 34 | "js-untar", |
| 35 | "util", |
| 36 | "http-status-codes", |
| 37 | "js-yaml" |
| 38 | ], |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 39 | "assets": [ |
| 40 | "src/favicon.ico", |
| 41 | "src/assets" |
| 42 | ], |
| 43 | "styles": [ |
| 44 | "src/assets/scss/style.scss", |
| 45 | "node_modules/ol/ol.css", |
| 46 | "node_modules/@fortawesome/fontawesome-free/css/all.min.css" |
| 47 | ], |
| 48 | "scripts": [ |
| 49 | "src/assets/js/tar.js" |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 50 | ], |
| 51 | "stylePreprocessorOptions": { |
| 52 | "includePaths": [ |
| 53 | "node_modules/" |
| 54 | ] |
| 55 | } |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 56 | }, |
| 57 | "configurations": { |
| 58 | "production": { |
| 59 | "fileReplacements": [ |
| 60 | { |
| 61 | "replace": "src/environments/environment.ts", |
| 62 | "with": "src/environments/environment.prod.ts" |
| 63 | } |
| 64 | ], |
| 65 | "optimization": true, |
| 66 | "outputHashing": "all", |
| 67 | "sourceMap": false, |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 68 | "namedChunks": false, |
| 69 | "aot": true, |
| 70 | "extractLicenses": true, |
| 71 | "vendorChunk": false, |
| 72 | "buildOptimizer": true, |
| 73 | "budgets": [ |
| 74 | { |
| 75 | "type": "initial", |
| 76 | "maximumWarning": "2mb", |
| 77 | "maximumError": "5mb" |
| 78 | } |
| 79 | ] |
| SANDHYA.JS | 2cac472 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 80 | }, |
| 81 | "development": { |
| 82 | "buildOptimizer": false, |
| 83 | "optimization": false, |
| 84 | "vendorChunk": true, |
| 85 | "extractLicenses": false, |
| 86 | "sourceMap": true, |
| 87 | "namedChunks": true |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 88 | } |
| SANDHYA.JS | 2cac472 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 89 | }, |
| 90 | "defaultConfiguration": "production" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 91 | }, |
| 92 | "serve": { |
| 93 | "builder": "@angular-devkit/build-angular:dev-server", |
| 94 | "options": { |
| 95 | "browserTarget": "osm:build" |
| 96 | }, |
| 97 | "configurations": { |
| 98 | "production": { |
| 99 | "browserTarget": "osm:build:production" |
| SANDHYA.JS | 2cac472 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 100 | }, |
| 101 | "development": { |
| 102 | "browserTarget": "osm:build:development" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 103 | } |
| SANDHYA.JS | 2cac472 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 104 | }, |
| 105 | "defaultConfiguration": "development" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 106 | }, |
| 107 | "extract-i18n": { |
| 108 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 109 | "options": { |
| 110 | "browserTarget": "osm:build" |
| 111 | } |
| 112 | }, |
| 113 | "test": { |
| 114 | "builder": "@angular-devkit/build-angular:karma", |
| 115 | "options": { |
| 116 | "main": "src/test.ts", |
| 117 | "polyfills": "src/polyfills.ts", |
| 118 | "tsConfig": "src/tsconfig.spec.json", |
| 119 | "karmaConfig": "src/karma.conf.js", |
| 120 | "styles": [ |
| 121 | "src/styles.css", |
| 122 | "node_modules/ol/ol.css" |
| 123 | ], |
| 124 | "scripts": [], |
| 125 | "assets": [ |
| 126 | "src/favicon.ico", |
| 127 | "src/assets" |
| 128 | ] |
| 129 | } |
| 130 | }, |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 131 | "e2e": { |
| 132 | "builder": "@cypress/schematic:cypress", |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 133 | "options": { |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 134 | "devServerTarget": "osm:serve", |
| 135 | "watch": true, |
| 136 | "headless": false, |
| 137 | "configFile": "e2e//cypress.config.js" |
| 138 | }, |
| 139 | "configurations": { |
| 140 | "production": { |
| 141 | "devServerTarget": "osm:serve:production" |
| 142 | } |
| 143 | } |
| 144 | }, |
| 145 | "lint": { |
| 146 | "builder": "@angular-eslint/builder:lint", |
| 147 | "options": { |
| 148 | "lintFilePatterns": [ |
| 149 | "src/**/*.ts", |
| 150 | "src/**/*.html" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 151 | ] |
| 152 | } |
| 153 | } |
| 154 | } |
| 155 | }, |
| 156 | "osm-e2e": { |
| 157 | "root": "e2e/", |
| 158 | "projectType": "application", |
| 159 | "prefix": "", |
| 160 | "architect": { |
| 161 | "e2e": { |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 162 | "builder": "@cypress/schematic:cypress", |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 163 | "options": { |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 164 | "devServerTarget": "osm-e2e:serve", |
| 165 | "watch": true, |
| 166 | "headless": false, |
| 167 | "configFile": "e2e//cypress.config.js" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 168 | }, |
| 169 | "configurations": { |
| 170 | "production": { |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 171 | "devServerTarget": "osm-e2e:serve:production" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 172 | } |
| 173 | } |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 174 | } |
| 175 | } |
| 176 | } |
| 177 | }, |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 178 | "cli": { |
| 179 | "schematicCollections": [ |
| 180 | "@angular-eslint/schematics" |
| SANDHYA.JS | 2cac472 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 181 | ], |
| 182 | "analytics": "bc7a21d3-c008-4362-b213-866be7e71063" |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 183 | } |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 184 | } |