1 | {
|
---|
2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
---|
3 | "version": 1,
|
---|
4 | "newProjectRoot": "projects",
|
---|
5 | "projects": {
|
---|
6 | "finki-chattery": {
|
---|
7 | "projectType": "application",
|
---|
8 | "schematics": {
|
---|
9 | "@schematics/angular:component": {
|
---|
10 | "style": "scss"
|
---|
11 | },
|
---|
12 | "@schematics/angular:application": {
|
---|
13 | "strict": true
|
---|
14 | }
|
---|
15 | },
|
---|
16 | "root": "",
|
---|
17 | "sourceRoot": "src",
|
---|
18 | "prefix": "app",
|
---|
19 | "architect": {
|
---|
20 | "build": {
|
---|
21 | "builder": "@angular-devkit/build-angular:browser",
|
---|
22 | "options": {
|
---|
23 | "outputPath": "dist/finki-chattery",
|
---|
24 | "index": "src/index.html",
|
---|
25 | "main": "src/main.ts",
|
---|
26 | "polyfills": "src/polyfills.ts",
|
---|
27 | "tsConfig": "tsconfig.app.json",
|
---|
28 | "aot": true,
|
---|
29 | "assets": [
|
---|
30 | "src/favicon.ico",
|
---|
31 | "src/assets",
|
---|
32 | "src/callback.html",
|
---|
33 | {
|
---|
34 | "glob": "**/*.js",
|
---|
35 | "input": "./node_modules/oidc-client/dist/",
|
---|
36 | "output": "./"
|
---|
37 | }
|
---|
38 | ],
|
---|
39 | "styles": [
|
---|
40 | "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
---|
41 | "node_modules/ngx-toastr/toastr.css",
|
---|
42 | "src/styles.scss"
|
---|
43 | ],
|
---|
44 | "scripts": []
|
---|
45 | },
|
---|
46 | "configurations": {
|
---|
47 | "production": {
|
---|
48 | "fileReplacements": [
|
---|
49 | {
|
---|
50 | "replace": "src/environments/environment.ts",
|
---|
51 | "with": "src/environments/environment.prod.ts"
|
---|
52 | }
|
---|
53 | ],
|
---|
54 | "optimization": true,
|
---|
55 | "outputHashing": "all",
|
---|
56 | "sourceMap": false,
|
---|
57 | "namedChunks": false,
|
---|
58 | "extractLicenses": true,
|
---|
59 | "vendorChunk": false,
|
---|
60 | "buildOptimizer": true,
|
---|
61 | "budgets": [
|
---|
62 | {
|
---|
63 | "type": "initial",
|
---|
64 | "maximumWarning": "500kb",
|
---|
65 | "maximumError": "1mb"
|
---|
66 | },
|
---|
67 | {
|
---|
68 | "type": "anyComponentStyle",
|
---|
69 | "maximumWarning": "2kb",
|
---|
70 | "maximumError": "4kb"
|
---|
71 | }
|
---|
72 | ]
|
---|
73 | }
|
---|
74 | }
|
---|
75 | },
|
---|
76 | "serve": {
|
---|
77 | "builder": "@angular-devkit/build-angular:dev-server",
|
---|
78 | "options": {
|
---|
79 | "browserTarget": "finki-chattery:build"
|
---|
80 | },
|
---|
81 | "configurations": {
|
---|
82 | "production": {
|
---|
83 | "browserTarget": "finki-chattery:build:production"
|
---|
84 | }
|
---|
85 | }
|
---|
86 | },
|
---|
87 | "extract-i18n": {
|
---|
88 | "builder": "@angular-devkit/build-angular:extract-i18n",
|
---|
89 | "options": {
|
---|
90 | "browserTarget": "finki-chattery:build"
|
---|
91 | }
|
---|
92 | },
|
---|
93 | "test": {
|
---|
94 | "builder": "@angular-devkit/build-angular:karma",
|
---|
95 | "options": {
|
---|
96 | "main": "src/test.ts",
|
---|
97 | "polyfills": "src/polyfills.ts",
|
---|
98 | "tsConfig": "tsconfig.spec.json",
|
---|
99 | "karmaConfig": "karma.conf.js",
|
---|
100 | "assets": ["src/favicon.ico", "src/assets"],
|
---|
101 | "styles": ["./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", "src/styles.scss"],
|
---|
102 | "scripts": []
|
---|
103 | }
|
---|
104 | },
|
---|
105 | "lint": {
|
---|
106 | "builder": "@angular-devkit/build-angular:tslint",
|
---|
107 | "options": {
|
---|
108 | "tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
|
---|
109 | "exclude": ["**/node_modules/**"]
|
---|
110 | }
|
---|
111 | },
|
---|
112 | "e2e": {
|
---|
113 | "builder": "@angular-devkit/build-angular:protractor",
|
---|
114 | "options": {
|
---|
115 | "protractorConfig": "e2e/protractor.conf.js",
|
---|
116 | "devServerTarget": "finki-chattery:serve"
|
---|
117 | },
|
---|
118 | "configurations": {
|
---|
119 | "production": {
|
---|
120 | "devServerTarget": "finki-chattery:serve:production"
|
---|
121 | }
|
---|
122 | }
|
---|
123 | }
|
---|
124 | }
|
---|
125 | }
|
---|
126 | },
|
---|
127 | "defaultProject": "finki-chattery"
|
---|
128 | }
|
---|