blob: 066e675aea68dfac66e4f6eedd3a51815af9c601 [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": [
49 "src/assets/js/tar.js"
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +053050 ],
51 "stylePreprocessorOptions": {
52 "includePaths": [
53 "node_modules/"
54 ]
55 }
kumaran.m3b4814a2020-05-01 19:48:54 +053056 },
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.m3b4814a2020-05-01 19:48:54 +053068 "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"
SANDHYA.JSc84f1122024-06-04 21:50:03 +053078 },
79 {
80 "type": "anyComponentStyle",
81 "maximumWarning": "6kb",
82 "maximumError": "10kb"
kumaran.m3b4814a2020-05-01 19:48:54 +053083 }
84 ]
SANDHYA.JSeb9c4822023-10-11 16:29:27 +053085 },
86 "development": {
87 "buildOptimizer": false,
88 "optimization": false,
89 "vendorChunk": true,
90 "extractLicenses": false,
91 "sourceMap": true,
92 "namedChunks": true
kumaran.m3b4814a2020-05-01 19:48:54 +053093 }
SANDHYA.JSeb9c4822023-10-11 16:29:27 +053094 },
95 "defaultConfiguration": "production"
kumaran.m3b4814a2020-05-01 19:48:54 +053096 },
97 "serve": {
98 "builder": "@angular-devkit/build-angular:dev-server",
99 "options": {
100 "browserTarget": "osm:build"
101 },
102 "configurations": {
103 "production": {
104 "browserTarget": "osm:build:production"
SANDHYA.JSeb9c4822023-10-11 16:29:27 +0530105 },
106 "development": {
107 "browserTarget": "osm:build:development"
kumaran.m3b4814a2020-05-01 19:48:54 +0530108 }
SANDHYA.JSeb9c4822023-10-11 16:29:27 +0530109 },
110 "defaultConfiguration": "development"
kumaran.m3b4814a2020-05-01 19:48:54 +0530111 },
112 "extract-i18n": {
113 "builder": "@angular-devkit/build-angular:extract-i18n",
114 "options": {
115 "browserTarget": "osm:build"
116 }
117 },
118 "test": {
119 "builder": "@angular-devkit/build-angular:karma",
120 "options": {
121 "main": "src/test.ts",
122 "polyfills": "src/polyfills.ts",
123 "tsConfig": "src/tsconfig.spec.json",
124 "karmaConfig": "src/karma.conf.js",
125 "styles": [
126 "src/styles.css",
127 "node_modules/ol/ol.css"
128 ],
129 "scripts": [],
130 "assets": [
131 "src/favicon.ico",
132 "src/assets"
133 ]
134 }
135 },
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530136 "e2e": {
137 "builder": "@cypress/schematic:cypress",
kumaran.m3b4814a2020-05-01 19:48:54 +0530138 "options": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530139 "devServerTarget": "osm:serve",
140 "watch": true,
141 "headless": false,
142 "configFile": "e2e//cypress.config.js"
143 },
144 "configurations": {
145 "production": {
146 "devServerTarget": "osm:serve:production"
147 }
148 }
149 },
150 "lint": {
151 "builder": "@angular-eslint/builder:lint",
152 "options": {
153 "lintFilePatterns": [
154 "src/**/*.ts",
155 "src/**/*.html"
kumaran.m3b4814a2020-05-01 19:48:54 +0530156 ]
157 }
158 }
159 }
160 },
161 "osm-e2e": {
162 "root": "e2e/",
163 "projectType": "application",
164 "prefix": "",
165 "architect": {
166 "e2e": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530167 "builder": "@cypress/schematic:cypress",
kumaran.m3b4814a2020-05-01 19:48:54 +0530168 "options": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530169 "devServerTarget": "osm-e2e:serve",
170 "watch": true,
171 "headless": false,
172 "configFile": "e2e//cypress.config.js"
kumaran.m3b4814a2020-05-01 19:48:54 +0530173 },
174 "configurations": {
175 "production": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530176 "devServerTarget": "osm-e2e:serve:production"
kumaran.m3b4814a2020-05-01 19:48:54 +0530177 }
178 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530179 }
180 }
181 }
182 },
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530183 "cli": {
184 "schematicCollections": [
185 "@angular-eslint/schematics"
SANDHYA.JSeb9c4822023-10-11 16:29:27 +0530186 ],
187 "analytics": "bc7a21d3-c008-4362-b213-866be7e71063"
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530188 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530189}