blob: 1a6d042024a3f93a0a2e222fa217a2325b1f3593 [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"
78 }
79 ]
SANDHYA.JSeb9c4822023-10-11 16:29:27 +053080 },
81 "development": {
82 "buildOptimizer": false,
83 "optimization": false,
84 "vendorChunk": true,
85 "extractLicenses": false,
86 "sourceMap": true,
87 "namedChunks": true
kumaran.m3b4814a2020-05-01 19:48:54 +053088 }
SANDHYA.JSeb9c4822023-10-11 16:29:27 +053089 },
90 "defaultConfiguration": "production"
kumaran.m3b4814a2020-05-01 19:48:54 +053091 },
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.JSeb9c4822023-10-11 16:29:27 +0530100 },
101 "development": {
102 "browserTarget": "osm:build:development"
kumaran.m3b4814a2020-05-01 19:48:54 +0530103 }
SANDHYA.JSeb9c4822023-10-11 16:29:27 +0530104 },
105 "defaultConfiguration": "development"
kumaran.m3b4814a2020-05-01 19:48:54 +0530106 },
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.JS0a34dfa2023-04-25 23:59:41 +0530131 "e2e": {
132 "builder": "@cypress/schematic:cypress",
kumaran.m3b4814a2020-05-01 19:48:54 +0530133 "options": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530134 "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.m3b4814a2020-05-01 19:48:54 +0530151 ]
152 }
153 }
154 }
155 },
156 "osm-e2e": {
157 "root": "e2e/",
158 "projectType": "application",
159 "prefix": "",
160 "architect": {
161 "e2e": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530162 "builder": "@cypress/schematic:cypress",
kumaran.m3b4814a2020-05-01 19:48:54 +0530163 "options": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530164 "devServerTarget": "osm-e2e:serve",
165 "watch": true,
166 "headless": false,
167 "configFile": "e2e//cypress.config.js"
kumaran.m3b4814a2020-05-01 19:48:54 +0530168 },
169 "configurations": {
170 "production": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530171 "devServerTarget": "osm-e2e:serve:production"
kumaran.m3b4814a2020-05-01 19:48:54 +0530172 }
173 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530174 }
175 }
176 }
177 },
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530178 "cli": {
179 "schematicCollections": [
180 "@angular-eslint/schematics"
SANDHYA.JSeb9c4822023-10-11 16:29:27 +0530181 ],
182 "analytics": "bc7a21d3-c008-4362-b213-866be7e71063"
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530183 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530184}