blob: 96b4df009732f4e8c28205a7bac2e3e8433693da [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",
33 "./node_modules/font-awesome/css/font-awesome.css"
Ezhilarasi12031082019-02-21 21:20:51 +053034 ],
35 "scripts": [
36 "./node_modules/ace-builds/src-min/ace.js",
37 "./node_modules/ace-builds/src-min/theme-eclipse.js",
38 "./node_modules/ace-builds/src-min/mode-json.js",
39 "./node_modules/ace-builds/src-min/mode-javascript.js",
40 "./node_modules/ace-builds/src-min/mode-python.js",
41 "./node_modules/ace-builds/src-min/mode-xml.js",
Ezhilarasi343552a2019-03-13 14:33:22 +053042 "./node_modules/ace-builds/src-min/mode-kotlin.js",
43 "./node_modules/ace-builds/src-min/mode-text.js",
44 "./node_modules/ace-builds/src-min/mode-velocity.js",
45 "./node_modules/ace-builds/src-min/mode-yaml.js"
Ezhilarasi12031082019-02-21 21:20:51 +053046 ]
47 },
48 "configurations": {
49 "production": {
50 "fileReplacements": [{
51 "replace": "src/environments/environment.ts",
52 "with": "src/environments/environment.prod.ts"
53 }],
54 "optimization": true,
55 "outputHashing": "all",
56 "sourceMap": false,
57 "extractCss": true,
58 "namedChunks": false,
59 "aot": true,
60 "extractLicenses": true,
61 "vendorChunk": false,
62 "buildOptimizer": true,
63 "budgets": [{
64 "type": "initial",
65 "maximumWarning": "2mb",
66 "maximumError": "5mb"
67 }]
68 }
69 }
70 },
71 "serve": {
72 "builder": "@angular-devkit/build-angular:dev-server",
73 "options": {
74 "browserTarget": "cds-ui:build"
75 },
76 "configurations": {
77 "production": {
78 "browserTarget": "cds-ui:build:production"
79 }
80 }
81 },
82 "extract-i18n": {
83 "builder": "@angular-devkit/build-angular:extract-i18n",
84 "options": {
85 "browserTarget": "cds-ui:build"
86 }
87 },
88 "test": {
89 "builder": "@angular-devkit/build-angular:karma",
90 "options": {
91 "main": "src/test.ts",
92 "polyfills": "src/polyfills.ts",
93 "tsConfig": "src/tsconfig.spec.json",
94 "karmaConfig": "src/karma.conf.js",
95 "styles": [
96 "src/styles.scss"
97 ],
98 "scripts": [],
99 "assets": [
100 "src/favicon.ico",
101 "src/assets"
102 ]
103 }
104 },
105 "lint": {
106 "builder": "@angular-devkit/build-angular:tslint",
107 "options": {
108 "tsConfig": [
109 "src/tsconfig.app.json",
110 "src/tsconfig.spec.json"
111 ],
112 "exclude": [
113 "**/node_modules/**"
114 ]
115 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530116 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530117 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530118 },
Ezhilarasi12031082019-02-21 21:20:51 +0530119 "cds-ui-e2e": {
120 "root": "e2e/",
121 "projectType": "application",
122 "prefix": "",
123 "architect": {
124 "e2e": {
125 "builder": "@angular-devkit/build-angular:protractor",
126 "options": {
127 "protractorConfig": "e2e/protractor.conf.js",
128 "devServerTarget": "cds-ui:serve"
129 },
130 "configurations": {
131 "production": {
132 "devServerTarget": "cds-ui:serve:production"
133 }
134 }
135 },
136 "lint": {
137 "builder": "@angular-devkit/build-angular:tslint",
138 "options": {
139 "tsConfig": "e2e/tsconfig.e2e.json",
140 "exclude": [
141 "**/node_modules/**"
142 ]
143 }
144 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530145 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530146 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530147 },
Ezhilarasi12031082019-02-21 21:20:51 +0530148 "defaultProject": "cds-ui"
Arundathi Patil3d026852018-12-14 23:03:55 +0530149}