| 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": [ |
| SANDHYA.JS | 92379ec | 2025-06-13 17:29:35 +0530 | [diff] [blame] | 49 | "src/assets/js/tar.js", |
| 50 | "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js" |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 51 | ], |
| 52 | "stylePreprocessorOptions": { |
| 53 | "includePaths": [ |
| 54 | "node_modules/" |
| 55 | ] |
| 56 | } |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 57 | }, |
| 58 | "configurations": { |
| 59 | "production": { |
| 60 | "fileReplacements": [ |
| 61 | { |
| 62 | "replace": "src/environments/environment.ts", |
| 63 | "with": "src/environments/environment.prod.ts" |
| 64 | } |
| 65 | ], |
| 66 | "optimization": true, |
| 67 | "outputHashing": "all", |
| 68 | "sourceMap": false, |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 69 | "namedChunks": false, |
| 70 | "aot": true, |
| 71 | "extractLicenses": true, |
| 72 | "vendorChunk": false, |
| 73 | "buildOptimizer": true, |
| 74 | "budgets": [ |
| 75 | { |
| 76 | "type": "initial", |
| 77 | "maximumWarning": "2mb", |
| 78 | "maximumError": "5mb" |
| SANDHYA.JS | c84f112 | 2024-06-04 21:50:03 +0530 | [diff] [blame] | 79 | }, |
| 80 | { |
| 81 | "type": "anyComponentStyle", |
| 82 | "maximumWarning": "6kb", |
| 83 | "maximumError": "10kb" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 84 | } |
| 85 | ] |
| SANDHYA.JS | eb9c482 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 86 | }, |
| 87 | "development": { |
| 88 | "buildOptimizer": false, |
| 89 | "optimization": false, |
| 90 | "vendorChunk": true, |
| 91 | "extractLicenses": false, |
| 92 | "sourceMap": true, |
| 93 | "namedChunks": true |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 94 | } |
| SANDHYA.JS | eb9c482 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 95 | }, |
| 96 | "defaultConfiguration": "production" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 97 | }, |
| 98 | "serve": { |
| 99 | "builder": "@angular-devkit/build-angular:dev-server", |
| 100 | "options": { |
| 101 | "browserTarget": "osm:build" |
| 102 | }, |
| 103 | "configurations": { |
| 104 | "production": { |
| 105 | "browserTarget": "osm:build:production" |
| SANDHYA.JS | eb9c482 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 106 | }, |
| 107 | "development": { |
| 108 | "browserTarget": "osm:build:development" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 109 | } |
| SANDHYA.JS | eb9c482 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 110 | }, |
| 111 | "defaultConfiguration": "development" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 112 | }, |
| 113 | "extract-i18n": { |
| 114 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 115 | "options": { |
| 116 | "browserTarget": "osm:build" |
| 117 | } |
| 118 | }, |
| 119 | "test": { |
| 120 | "builder": "@angular-devkit/build-angular:karma", |
| 121 | "options": { |
| 122 | "main": "src/test.ts", |
| 123 | "polyfills": "src/polyfills.ts", |
| 124 | "tsConfig": "src/tsconfig.spec.json", |
| 125 | "karmaConfig": "src/karma.conf.js", |
| 126 | "styles": [ |
| 127 | "src/styles.css", |
| 128 | "node_modules/ol/ol.css" |
| 129 | ], |
| 130 | "scripts": [], |
| 131 | "assets": [ |
| 132 | "src/favicon.ico", |
| 133 | "src/assets" |
| 134 | ] |
| 135 | } |
| 136 | }, |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 137 | "e2e": { |
| 138 | "builder": "@cypress/schematic:cypress", |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 139 | "options": { |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 140 | "devServerTarget": "osm:serve", |
| 141 | "watch": true, |
| 142 | "headless": false, |
| 143 | "configFile": "e2e//cypress.config.js" |
| 144 | }, |
| 145 | "configurations": { |
| 146 | "production": { |
| 147 | "devServerTarget": "osm:serve:production" |
| 148 | } |
| 149 | } |
| 150 | }, |
| 151 | "lint": { |
| 152 | "builder": "@angular-eslint/builder:lint", |
| 153 | "options": { |
| 154 | "lintFilePatterns": [ |
| 155 | "src/**/*.ts", |
| 156 | "src/**/*.html" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 157 | ] |
| 158 | } |
| 159 | } |
| 160 | } |
| 161 | }, |
| 162 | "osm-e2e": { |
| 163 | "root": "e2e/", |
| 164 | "projectType": "application", |
| 165 | "prefix": "", |
| 166 | "architect": { |
| 167 | "e2e": { |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 168 | "builder": "@cypress/schematic:cypress", |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 169 | "options": { |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 170 | "devServerTarget": "osm-e2e:serve", |
| 171 | "watch": true, |
| 172 | "headless": false, |
| 173 | "configFile": "e2e//cypress.config.js" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 174 | }, |
| 175 | "configurations": { |
| 176 | "production": { |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 177 | "devServerTarget": "osm-e2e:serve:production" |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 178 | } |
| 179 | } |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 180 | } |
| 181 | } |
| 182 | } |
| 183 | }, |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 184 | "cli": { |
| 185 | "schematicCollections": [ |
| 186 | "@angular-eslint/schematics" |
| SANDHYA.JS | eb9c482 | 2023-10-11 16:29:27 +0530 | [diff] [blame] | 187 | ], |
| 188 | "analytics": "bc7a21d3-c008-4362-b213-866be7e71063" |
| SANDHYA.JS | 0a34dfa | 2023-04-25 23:59:41 +0530 | [diff] [blame] | 189 | } |
| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 190 | } |