blob: 60abb899c881b0feebf61120db1ade6f1bcbdac7 [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 ]
80 }
81 }
82 },
83 "serve": {
84 "builder": "@angular-devkit/build-angular:dev-server",
85 "options": {
86 "browserTarget": "osm:build"
87 },
88 "configurations": {
89 "production": {
90 "browserTarget": "osm:build:production"
91 }
92 }
93 },
94 "extract-i18n": {
95 "builder": "@angular-devkit/build-angular:extract-i18n",
96 "options": {
97 "browserTarget": "osm:build"
98 }
99 },
100 "test": {
101 "builder": "@angular-devkit/build-angular:karma",
102 "options": {
103 "main": "src/test.ts",
104 "polyfills": "src/polyfills.ts",
105 "tsConfig": "src/tsconfig.spec.json",
106 "karmaConfig": "src/karma.conf.js",
107 "styles": [
108 "src/styles.css",
109 "node_modules/ol/ol.css"
110 ],
111 "scripts": [],
112 "assets": [
113 "src/favicon.ico",
114 "src/assets"
115 ]
116 }
117 },
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530118 "e2e": {
119 "builder": "@cypress/schematic:cypress",
kumaran.m3b4814a2020-05-01 19:48:54 +0530120 "options": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530121 "devServerTarget": "osm:serve",
122 "watch": true,
123 "headless": false,
124 "configFile": "e2e//cypress.config.js"
125 },
126 "configurations": {
127 "production": {
128 "devServerTarget": "osm:serve:production"
129 }
130 }
131 },
132 "lint": {
133 "builder": "@angular-eslint/builder:lint",
134 "options": {
135 "lintFilePatterns": [
136 "src/**/*.ts",
137 "src/**/*.html"
kumaran.m3b4814a2020-05-01 19:48:54 +0530138 ]
139 }
140 }
141 }
142 },
143 "osm-e2e": {
144 "root": "e2e/",
145 "projectType": "application",
146 "prefix": "",
147 "architect": {
148 "e2e": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530149 "builder": "@cypress/schematic:cypress",
kumaran.m3b4814a2020-05-01 19:48:54 +0530150 "options": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530151 "devServerTarget": "osm-e2e:serve",
152 "watch": true,
153 "headless": false,
154 "configFile": "e2e//cypress.config.js"
kumaran.m3b4814a2020-05-01 19:48:54 +0530155 },
156 "configurations": {
157 "production": {
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530158 "devServerTarget": "osm-e2e:serve:production"
kumaran.m3b4814a2020-05-01 19:48:54 +0530159 }
160 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530161 }
162 }
163 }
164 },
SANDHYA.JS0a34dfa2023-04-25 23:59:41 +0530165 "cli": {
166 "schematicCollections": [
167 "@angular-eslint/schematics"
168 ]
169 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530170}