blob: 2bf255ddfb571727eb7f4eb031343473f8545155 [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",
Arundathi Patil53ca7452019-10-11 18:19:04 +053034 "./node_modules/bootstrap/dist/css/bootstrap.min.css",
35 "./node_modules/jointjs/css/layout.css",
36 "./node_modules/jointjs/css/themes/material.css",
37 "./node_modules/jointjs/css/themes/default.css"
Ezhilarasi12031082019-02-21 21:20:51 +053038 ],
39 "scripts": [
40 "./node_modules/ace-builds/src-min/ace.js",
41 "./node_modules/ace-builds/src-min/theme-eclipse.js",
42 "./node_modules/ace-builds/src-min/mode-json.js",
43 "./node_modules/ace-builds/src-min/mode-javascript.js",
44 "./node_modules/ace-builds/src-min/mode-python.js",
45 "./node_modules/ace-builds/src-min/mode-xml.js",
Ezhilarasi343552a2019-03-13 14:33:22 +053046 "./node_modules/ace-builds/src-min/mode-kotlin.js",
47 "./node_modules/ace-builds/src-min/mode-text.js",
48 "./node_modules/ace-builds/src-min/mode-velocity.js",
Arundathi Patil53ca7452019-10-11 18:19:04 +053049 "./node_modules/ace-builds/src-min/mode-yaml.js",
50 "./node_modules/jquery/dist/jquery.js",
51 "./node_modules/lodash/index.js",
52 "./node_modules/backbone/backbone.js",
53 "./node_modules/jointjs/dist/joint.js"
Ezhilarasi12031082019-02-21 21:20:51 +053054 ]
55 },
56 "configurations": {
57 "production": {
58 "fileReplacements": [{
59 "replace": "src/environments/environment.ts",
60 "with": "src/environments/environment.prod.ts"
61 }],
62 "optimization": true,
63 "outputHashing": "all",
64 "sourceMap": false,
65 "extractCss": true,
66 "namedChunks": false,
67 "aot": true,
68 "extractLicenses": true,
69 "vendorChunk": false,
70 "buildOptimizer": true,
71 "budgets": [{
72 "type": "initial",
73 "maximumWarning": "2mb",
74 "maximumError": "5mb"
75 }]
76 }
77 }
78 },
79 "serve": {
80 "builder": "@angular-devkit/build-angular:dev-server",
81 "options": {
82 "browserTarget": "cds-ui:build"
83 },
84 "configurations": {
85 "production": {
86 "browserTarget": "cds-ui:build:production"
87 }
88 }
89 },
90 "extract-i18n": {
91 "builder": "@angular-devkit/build-angular:extract-i18n",
92 "options": {
93 "browserTarget": "cds-ui:build"
94 }
95 },
96 "test": {
97 "builder": "@angular-devkit/build-angular:karma",
98 "options": {
99 "main": "src/test.ts",
100 "polyfills": "src/polyfills.ts",
101 "tsConfig": "src/tsconfig.spec.json",
102 "karmaConfig": "src/karma.conf.js",
103 "styles": [
104 "src/styles.scss"
105 ],
106 "scripts": [],
107 "assets": [
108 "src/favicon.ico",
109 "src/assets"
110 ]
111 }
112 },
113 "lint": {
114 "builder": "@angular-devkit/build-angular:tslint",
115 "options": {
116 "tsConfig": [
117 "src/tsconfig.app.json",
118 "src/tsconfig.spec.json"
119 ],
120 "exclude": [
121 "**/node_modules/**"
122 ]
123 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530124 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530125 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530126 },
Ezhilarasi12031082019-02-21 21:20:51 +0530127 "cds-ui-e2e": {
128 "root": "e2e/",
129 "projectType": "application",
130 "prefix": "",
131 "architect": {
132 "e2e": {
133 "builder": "@angular-devkit/build-angular:protractor",
134 "options": {
135 "protractorConfig": "e2e/protractor.conf.js",
136 "devServerTarget": "cds-ui:serve"
137 },
138 "configurations": {
139 "production": {
140 "devServerTarget": "cds-ui:serve:production"
141 }
142 }
143 },
144 "lint": {
145 "builder": "@angular-devkit/build-angular:tslint",
146 "options": {
147 "tsConfig": "e2e/tsconfig.e2e.json",
148 "exclude": [
149 "**/node_modules/**"
150 ]
151 }
152 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530153 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530154 }
Arundathi Patil3d026852018-12-14 23:03:55 +0530155 },
Ezhilarasi12031082019-02-21 21:20:51 +0530156 "defaultProject": "cds-ui"
Arundathi Patil3d026852018-12-14 23:03:55 +0530157}