blob: b169e7bcf1e63267e96f1d650c556b89eb4bdbbd [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": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +020016 "outputPath": "dist/designer-client",
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": [
Arundathi Patil55b06b52019-11-25 15:41:45 +053037 "./node_modules/jquery/dist/jquery.min.js",
38 "./node_modules/lodash/index.js",
39 "./node_modules/backbone/backbone.js",
40 "./node_modules/jointjs/dist/joint.js"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020041 ]
42 },
43 "configurations": {
44 "production": {
45 "fileReplacements": [
46 {
47 "replace": "src/environments/environment.ts",
48 "with": "src/environments/environment.prod.ts"
49 }
50 ],
51 "optimization": true,
52 "outputHashing": "all",
53 "sourceMap": false,
54 "extractCss": true,
55 "namedChunks": false,
56 "aot": true,
57 "extractLicenses": true,
58 "vendorChunk": false,
59 "buildOptimizer": true,
60 "budgets": [
61 {
62 "type": "initial",
63 "maximumWarning": "2mb",
64 "maximumError": "5mb"
65 },
66 {
67 "type": "anyComponentStyle",
68 "maximumWarning": "6kb",
69 "maximumError": "10kb"
70 }
71 ]
72 }
73 }
74 },
75 "serve": {
76 "builder": "@angular-devkit/build-angular:dev-server",
77 "options": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +020078 "browserTarget": "designer-client:build"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020079 },
80 "configurations": {
81 "production": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +020082 "browserTarget": "designer-client:build:production"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020083 }
84 }
85 },
86 "extract-i18n": {
87 "builder": "@angular-devkit/build-angular:extract-i18n",
88 "options": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +020089 "browserTarget": "designer-client:build"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +020090 }
91 },
92 "test": {
93 "builder": "@angular-devkit/build-angular:karma",
94 "options": {
95 "main": "src/test.ts",
96 "polyfills": "src/polyfills.ts",
97 "tsConfig": "tsconfig.spec.json",
98 "karmaConfig": "karma.conf.js",
99 "assets": [
100 "src/favicon.ico",
101 "src/assets"
102 ],
103 "styles": [
104 "src/styles.css",
105 "./node_modules/bootstrap/dist/css/bootstrap.min.css",
106 "./node_modules/@angular/material/prebuilt-themes/purple-green.css",
Ahmed Abbas4b3afd22019-12-11 14:14:11 +0200107 "./node_modules/font-awesome/css/font-awesome.css"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +0200108 ],
109 "scripts": [
110
111
112 ]
113 }
114 },
115 "lint": {
116 "builder": "@angular-devkit/build-angular:tslint",
117 "options": {
118 "tsConfig": [
119 "tsconfig.app.json",
120 "tsconfig.spec.json",
121 "e2e/tsconfig.json"
122 ],
123 "exclude": [
124 "**/node_modules/**"
125 ]
126 }
127 },
128 "e2e": {
129 "builder": "@angular-devkit/build-angular:protractor",
130 "options": {
131 "protractorConfig": "e2e/protractor.conf.js",
Ahmed Abbas1b8623b2019-12-05 15:50:20 +0200132 "devServerTarget": "designer-client:serve"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +0200133 },
134 "configurations": {
135 "production": {
Ahmed Abbas1b8623b2019-12-05 15:50:20 +0200136 "devServerTarget": "designer-client:serve:production"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +0200137 }
138 }
139 }
140 }
141 }
142 },
Ahmed Abbas1b8623b2019-12-05 15:50:20 +0200143 "defaultProject": "designer-client"
Shaaban Ebrahim6cc77cb2019-11-11 10:51:21 +0200144}