blob: 436a0df6d7c00943fdcc9064a68f5819953c3a51 [file] [log] [blame]
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +02001{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +02006 "designer-client": {
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +02007 "projectType": "application",
8 "schematics": {},
9 "root": "",
10 "sourceRoot": "src",
11 "prefix": "app",
12 "architect": {
13 "build": {
14 "builder": "@angular-devkit/build-angular:browser",
15 "options": {
shaaban Altanany74ee6be2020-01-29 11:28:00 +020016 "outputPath": "../server/public",
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020017 "index": "src/index.html",
18 "main": "src/main.ts",
19 "polyfills": "src/polyfills.ts",
20 "tsConfig": "tsconfig.app.json",
21 "aot": false,
22 "assets": [
23 "src/favicon.ico",
24 "src/assets"
25 ],
26 "styles": [
27 "src/styles.css",
28 "./node_modules/bootstrap/dist/css/bootstrap.min.css",
29 "./node_modules/@angular/material/prebuilt-themes/purple-green.css",
30 "./node_modules/font-awesome/css/font-awesome.css",
Arundathi Patil55b06b52019-11-25 15:41:45 +053031 "./node_modules/jointjs/css/layout.css",
32 "./node_modules/jointjs/css/themes/material.css",
Ahmed Abbas4b3afd22019-12-11 14:14:11 +020033 "./node_modules/jointjs/css/themes/default.css"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020034
35 ],
36 "scripts": [
shaaban Altananyc9b0f842020-01-28 17:25:47 +020037 "./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",
43 "./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",
47 "./node_modules/ace-builds/src-min/theme-vibrant_ink.js",
48 "./node_modules/ace-builds/src-min/snippets/html.js",
49 "./node_modules/ace-builds/src-min/ext-beautify.js",
50 "./node_modules/ace-builds/src-min/ext-searchbox.js",
51 "./node_modules/ace-builds/src-min/ext-language_tools.js",
52 "./node_modules/jquery/dist/jquery.js",
Arundathi Patil55b06b52019-11-25 15:41:45 +053053 "./node_modules/lodash/index.js",
54 "./node_modules/backbone/backbone.js",
55 "./node_modules/jointjs/dist/joint.js"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020056 ]
57 },
58 "configurations": {
59 "production": {
60 "fileReplacements": [
61 {
62 "replace": "src/environments/environment.ts",
63 "with": "src/environments/environment.prod.ts"
64 }
65 ],
66 "optimization": true,
67 "outputHashing": "all",
68 "sourceMap": false,
69 "extractCss": true,
70 "namedChunks": false,
71 "aot": true,
72 "extractLicenses": true,
73 "vendorChunk": false,
74 "buildOptimizer": true,
75 "budgets": [
76 {
77 "type": "initial",
78 "maximumWarning": "2mb",
79 "maximumError": "5mb"
80 },
81 {
82 "type": "anyComponentStyle",
83 "maximumWarning": "6kb",
84 "maximumError": "10kb"
85 }
86 ]
87 }
88 }
89 },
90 "serve": {
91 "builder": "@angular-devkit/build-angular:dev-server",
92 "options": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +020093 "browserTarget": "designer-client:build"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020094 },
95 "configurations": {
96 "production": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +020097 "browserTarget": "designer-client:build:production"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020098 }
99 }
100 },
101 "extract-i18n": {
102 "builder": "@angular-devkit/build-angular:extract-i18n",
103 "options": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +0200104 "browserTarget": "designer-client:build"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +0200105 }
106 },
107 "test": {
108 "builder": "@angular-devkit/build-angular:karma",
109 "options": {
110 "main": "src/test.ts",
111 "polyfills": "src/polyfills.ts",
112 "tsConfig": "tsconfig.spec.json",
113 "karmaConfig": "karma.conf.js",
114 "assets": [
115 "src/favicon.ico",
116 "src/assets"
117 ],
118 "styles": [
119 "src/styles.css",
120 "./node_modules/bootstrap/dist/css/bootstrap.min.css",
121 "./node_modules/@angular/material/prebuilt-themes/purple-green.css",
Ahmed Abbas4b3afd22019-12-11 14:14:11 +0200122 "./node_modules/font-awesome/css/font-awesome.css"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +0200123 ],
124 "scripts": [
125
126
127 ]
128 }
129 },
130 "lint": {
131 "builder": "@angular-devkit/build-angular:tslint",
132 "options": {
133 "tsConfig": [
134 "tsconfig.app.json",
135 "tsconfig.spec.json",
136 "e2e/tsconfig.json"
137 ],
138 "exclude": [
139 "**/node_modules/**"
140 ]
141 }
142 },
143 "e2e": {
144 "builder": "@angular-devkit/build-angular:protractor",
145 "options": {
146 "protractorConfig": "e2e/protractor.conf.js",
Ahmed Abbas1b8623b2019-12-05 15:50:20 +0200147 "devServerTarget": "designer-client:serve"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +0200148 },
149 "configurations": {
150 "production": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +0200151 "devServerTarget": "designer-client:serve:production"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +0200152 }
153 }
154 }
155 }
156 }
157 },
Ahmed Abbas1b8623b2019-12-05 15:50:20 +0200158 "defaultProject": "designer-client"
shaaban Altananyc9b0f842020-01-28 17:25:47 +0200159}