blob: e9d40e9814ec28ab22be6fcf2ae78f5adb56321c [file] [log] [blame]
kumaran.m3b4814a2020-05-01 19:48:54 +05301{
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 R5abb2742020-11-22 20:15:10 +053013 "style": "scss"
kumaran.m3b4814a2020-05-01 19:48:54 +053014 }
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.JS0a34dfa2023-04-25 23:59:41 +053025 "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.m3b4814a2020-05-01 19:48:54 +053039 "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.JS92379ec2025-06-13 17:29:35 +053049 "src/assets/js/tar.js",
50 "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +053051 ],
52 "stylePreprocessorOptions": {
53 "includePaths": [
54 "node_modules/"
55 ]
56 }
kumaran.m3b4814a2020-05-01 19:48:54 +053057 },
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.m3b4814a2020-05-01 19:48:54 +053069 "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.JSc84f1122024-06-04 21:50:03 +053079 },
80 {
81 "type": "anyComponentStyle",
82 "maximumWarning": "6kb",
83 "maximumError": "10kb"
kumaran.m3b4814a2020-05-01 19:48:54 +053084 }
85 ]
SANDHYA.JSeb9c4822023-10-11 16:29:27 +053086 },
87 "development": {
88 "buildOptimizer": false,
89 "optimization": false,
90 "vendorChunk": true,
91 "extractLicenses": false,
92 "sourceMap": true,
93 "namedChunks": true
kumaran.m3b4814a2020-05-01 19:48:54 +053094 }
SANDHYA.JSeb9c4822023-10-11 16:29:27 +053095 },
96 "defaultConfiguration": "production"
kumaran.m3b4814a2020-05-01 19:48:54 +053097 },
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.JSeb9c4822023-10-11 16:29:27 +0530106 },
107 "development": {
108 "browserTarget": "osm:build:development"
kumaran.m3b4814a2020-05-01 19:48:54 +0530109 }
SANDHYA.JSeb9c4822023-10-11 16:29:27 +0530110 },
111 "defaultConfiguration": "development"
kumaran.m3b4814a2020-05-01 19:48:54 +0530112 },
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.JS0a34dfa2023-04-25 23:59:41 +0530137 "e2e": {
138 "builder": "@cypress/schematic:cypress",
kumaran.m3b4814a2020-05-01 19:48:54 +0530139 "options": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530140 "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.m3b4814a2020-05-01 19:48:54 +0530157 ]
158 }
159 }
160 }
161 },
162 "osm-e2e": {
163 "root": "e2e/",
164 "projectType": "application",
165 "prefix": "",
166 "architect": {
167 "e2e": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530168 "builder": "@cypress/schematic:cypress",
kumaran.m3b4814a2020-05-01 19:48:54 +0530169 "options": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530170 "devServerTarget": "osm-e2e:serve",
171 "watch": true,
172 "headless": false,
173 "configFile": "e2e//cypress.config.js"
kumaran.m3b4814a2020-05-01 19:48:54 +0530174 },
175 "configurations": {
176 "production": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530177 "devServerTarget": "osm-e2e:serve:production"
kumaran.m3b4814a2020-05-01 19:48:54 +0530178 }
179 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530180 }
181 }
182 }
183 },
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530184 "cli": {
185 "schematicCollections": [
186 "@angular-eslint/schematics"
SANDHYA.JSeb9c4822023-10-11 16:29:27 +0530187 ],
188 "analytics": "bc7a21d3-c008-4362-b213-866be7e71063"
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530189 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530190}