]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/angular.json
Fix broken follow notification
[github/Chocobozzz/PeerTube.git] / client / angular.json
CommitLineData
54c3a22f
C
1{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "projects",
5 "projects": {
6 "PeerTube": {
7 "root": "",
8 "sourceRoot": "src",
9 "projectType": "application",
10 "architect": {
11 "build": {
12 "builder": "@angular-devkit/build-angular:browser",
13 "options": {
17c49e60 14 "deployUrl": "client/",
54c3a22f
C
15 "outputPath": "dist",
16 "index": "src/index.html",
17 "main": "src/main.ts",
16b55259 18 "tsConfig": "tsconfig.app.json",
54c3a22f
C
19 "polyfills": "src/polyfills.ts",
20 "stylePreprocessorOptions": {
21 "includePaths": [
22 "src/sass/include"
23 ]
24 },
25 "assets": [
26 "src/assets/images",
fcc7c060 27 "src/manifest.webmanifest"
54c3a22f
C
28 ],
29 "styles": [
30 "src/sass/application.scss"
31 ],
32 "scripts": []
33 },
34 "configurations": {
35 "production": {
36 "optimization": true,
37 "outputHashing": "all",
38 "sourceMap": false,
39 "extractCss": true,
40 "namedChunks": false,
41 "aot": true,
42 "extractLicenses": true,
43 "vendorChunk": false,
44 "buildOptimizer": true,
a700f183
C
45 "serviceWorker": true,
46 "ngswConfigPath": "src/ngsw-config.json",
970ceac0
C
47 "budgets": [
48 {
49 "type": "initial",
970ceac0
C
50 "maximumWarning": "2mb",
51 "maximumError": "5mb"
970ceac0
C
52 },
53 {
54 "type": "anyComponentStyle",
55 "maximumWarning": "6kb",
56 "maximumError": "10kb"
57 }
58 ],
54c3a22f
C
59 "fileReplacements": [
60 {
61 "replace": "src/environments/environment.ts",
62 "with": "src/environments/environment.prod.ts"
63 }
64 ]
74af5a83
C
65 },
66 "hmr": {
67 "fileReplacements": [
68 {
69 "replace": "src/environments/environment.ts",
70 "with": "src/environments/environment.hmr.ts"
71 }
72 ]
73 },
74 "e2e": {
75 "fileReplacements": [
76 {
77 "replace": "src/environments/environment.ts",
78 "with": "src/environments/environment.e2e.ts"
79 }
80 ]
54c3a22f
C
81 }
82 }
83 },
84 "serve": {
85 "builder": "@angular-devkit/build-angular:dev-server",
86 "options": {
41b15c89
C
87 "baseHref": "/",
88 "deployUrl": "client/",
54c3a22f
C
89 "browserTarget": "PeerTube:build"
90 },
91 "configurations": {
92 "production": {
93 "browserTarget": "PeerTube:build:production"
74af5a83
C
94 },
95 "hmr": {
96 "browserTarget": "PeerTube:build:hmr"
97 },
98 "e2e": {
99 "browserTarget": "PeerTube:build:e2e"
54c3a22f
C
100 }
101 }
102 },
103 "extract-i18n": {
104 "builder": "@angular-devkit/build-angular:extract-i18n",
105 "options": {
106 "browserTarget": "PeerTube:build"
107 }
108 },
109 "test": {
110 "builder": "@angular-devkit/build-angular:karma",
111 "options": {
112 "main": "src/test.ts",
113 "karmaConfig": "./karma.conf.js",
114 "polyfills": "src/polyfills.ts",
115 "tsConfig": "src/tsconfig.spec.json",
116 "scripts": [],
117 "styles": [
118 "src/sass/application.scss"
119 ],
120 "assets": [
121 "src/assets/images",
fcc7c060 122 "src/manifest.webmanifest"
54c3a22f
C
123 ]
124 }
125 },
126 "lint": {
127 "builder": "@angular-devkit/build-angular:tslint",
128 "options": {
129 "tsConfig": [
16b55259 130 "tsconfig.app.json"
54c3a22f
C
131 ],
132 "exclude": [
133 "**/node_modules/**"
134 ]
135 }
136 }
137 }
138 },
139 "PeerTube-e2e": {
74af5a83 140 "root": "e2e/",
54c3a22f
C
141 "sourceRoot": "",
142 "projectType": "application",
143 "architect": {
144 "e2e": {
145 "builder": "@angular-devkit/build-angular:protractor",
146 "options": {
74af5a83
C
147 "protractorConfig": "e2e/protractor.conf.js",
148 "devServerTarget": "PeerTube:serve:e2e"
9e3e2481
RK
149 },
150 "configurations": {
151 "local": {
152 "protractorConfig": "e2e/local-protractor.conf.js"
153 }
54c3a22f
C
154 }
155 },
156 "lint": {
157 "builder": "@angular-devkit/build-angular:tslint",
158 "options": {
159 "tsConfig": [
160 "e2e/tsconfig.e2e.json"
161 ],
162 "exclude": [
163 "**/node_modules/**"
164 ]
165 }
166 }
167 }
168 }
169 },
170 "defaultProject": "PeerTube",
171 "schematics": {
172 "@schematics/angular:component": {
173 "prefix": "app",
174 "styleext": "scss"
175 },
176 "@schematics/angular:directive": {
177 "prefix": "app"
178 }
179 }
17c49e60 180}