blob: c5800f0507b7020b72f058c6dc0d538b50d17460 [file] [log] [blame]
Arundathi Patil3d026852018-12-14 23:03:55 +05301{
Ezhilarasi12031082019-02-21 21:20:51 +05302 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
6 "cds-ui": {
7 "root": "",
8 "sourceRoot": "src",
9 "projectType": "application",
10 "prefix": "app",
11 "schematics": {
12 "@schematics/angular:component": {
13 "styleext": "scss"
Arundathi Patil3d026852018-12-14 23:03:55 +053014 }
Ezhilarasi12031082019-02-21 21:20:51 +053015 },
16 "architect": {
17 "build": {
18 "builder": "@angular-devkit/build-angular:browser",
19 "options": {
20 "outputPath": "../server/public",
21 "index": "src/index.html",
22 "main": "src/main.ts",
23 "polyfills": "src/polyfills.ts",
24 "tsConfig": "src/tsconfig.app.json",
25 "assets": [
26 "src/favicon.ico",
27 "src/assets"
28 ],
29 "styles": [
30 "src/styles.scss",
31 "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
Arundathi Patilcc353262019-03-18 17:50:14 +053032 "./node_modules/material-design-icons/iconfont/material-icons.css",
Arundathi Patil8f3271f2019-04-08 16:14:26 +053033 "./node_modules/font-awesome/css/font-awesome.css",
34 "./node_modules/bootstrap/dist/css/bootstrap.min.css"
Ezhilarasi12031082019-02-21 21:20:51 +053035 ],
36 "scripts": [
37 "./node_modules/ace-builds/src-min/ace.js",
38 "./node_modules/ace-builds/src-min/theme-eclipse.js",
39 "./node_modules/ace-builds/src-min/mode-json.js",
40 "./node_modules/ace-builds/src-min/mode-javascript.js",
41 "./node_modules/ace-builds/src-min/mode-python.js",
42 "./node_modules/ace-builds/src-min/mode-xml.js",
Ezhilarasi343552a2019-03-13 14:33:22 +053043 "./node_modules/ace-builds/src-min/mode-kotlin.js",
44 "./node_modules/ace-builds/src-min/mode-text.js",
45 "./node_modules/ace-builds/src-min/mode-velocity.js",
46 "./node_modules/ace-builds/src-min/mode-yaml.js"
Ezhilarasi12031082019-02-21 21:20:51 +053047 ]
48 },
49 "configurations": {
50 "production": {
51 "fileReplacements": [{
52 "replace": "src/environments/environment.ts",
53 "with": "src/environments/environment.prod.ts"
54 }],
55 "optimization": true,
56 "outputHashing": "all",
57 "sourceMap": false,
58 "extractCss": true,
59 "namedChunks": false,
60 "aot": true,
61 "extractLicenses": true,
62 "vendorChunk": false,
63 "buildOptimizer": true,
64 "budgets": [{
65 "type": "initial",
66 "maximumWarning": "2mb",
67 "maximumError": "5mb"
68 }]
69 }
70 }
71 },
72 "serve": {
73 "builder": "@angular-devkit/build-angular:dev-server",
74 "options": {
75 "browserTarget": "cds-ui:build"
76 },
77 "configurations": {
78 "production": {
79 "browserTarget": "cds-ui:build:production"
80 }
81 }
82 },
83 "extract-i18n": {
84 "builder": "@angular-devkit/build-angular:extract-i18n",
85 "options": {
86 "browserTarget": "cds-ui:build"
87 }
88 },
89 "test": {
90 "builder": "@angular-devkit/build-angular:karma",
91 "options": {
92 "main": "src/test.ts",
93 "polyfills": "src/polyfills.ts",
94 "tsConfig": "src/tsconfig.spec.json",
95 "karmaConfig": "src/karma.conf.js",
96 "styles": [
97 "src/styles.scss"
98 ],
99 "scripts": [],
100 "assets": [
101 "src/favicon.ico",
102 "src/assets"
103 ]
104 }
105 },
106 "lint": {
107 "builder": "@angular-devkit/build-angular:tslint",
108 "options": {
109 "tsConfig": [
110 "src/tsconfig.app.json",
111 "src/tsconfig.spec.json"
112 ],
113 "exclude": [
114 "**/node_modules/**"
115 ]
116 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530117 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530118 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530119 },
Ezhilarasi12031082019-02-21 21:20:51 +0530120 "cds-ui-e2e": {
121 "root": "e2e/",
122 "projectType": "application",
123 "prefix": "",
124 "architect": {
125 "e2e": {
126 "builder": "@angular-devkit/build-angular:protractor",
127 "options": {
128 "protractorConfig": "e2e/protractor.conf.js",
129 "devServerTarget": "cds-ui:serve"
130 },
131 "configurations": {
132 "production": {
133 "devServerTarget": "cds-ui:serve:production"
134 }
135 }
136 },
137 "lint": {
138 "builder": "@angular-devkit/build-angular:tslint",
139 "options": {
140 "tsConfig": "e2e/tsconfig.e2e.json",
141 "exclude": [
142 "**/node_modules/**"
143 ]
144 }
145 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530146 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530147 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530148 },
Ezhilarasi12031082019-02-21 21:20:51 +0530149 "defaultProject": "cds-ui"
Arundathi Patil3d026852018-12-14 23:03:55 +0530150}