]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/angular.json
Rename server files
[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 ]
3aea8eb2
C
81 },
82 "fr_FR": {
83 "aot": true,
84 "outputPath": "dist/PeerTube-fr_FR",
85 "i18nFile": "src/i18n/messages.fr_FR.xlf",
86 "i18nFormat": "xlf",
87 "i18nLocale": "fr_FR"
54c3a22f
C
88 }
89 }
90 },
91 "serve": {
92 "builder": "@angular-devkit/build-angular:dev-server",
93 "options": {
41b15c89
C
94 "baseHref": "/",
95 "deployUrl": "client/",
446d9f8c
C
96 "browserTarget": "PeerTube:build",
97 "proxyConfig": "proxy.config.json"
54c3a22f
C
98 },
99 "configurations": {
100 "production": {
101 "browserTarget": "PeerTube:build:production"
74af5a83
C
102 },
103 "hmr": {
104 "browserTarget": "PeerTube:build:hmr"
105 },
106 "e2e": {
446d9f8c
C
107 "browserTarget": "PeerTube:build:e2e",
108 "proxyConfig": "e2e/proxy.config.json"
3aea8eb2
C
109 },
110 "fr_FR": {
111 "browserTarget": "PeerTube:build:fr_FR"
54c3a22f
C
112 }
113 }
114 },
115 "extract-i18n": {
116 "builder": "@angular-devkit/build-angular:extract-i18n",
117 "options": {
118 "browserTarget": "PeerTube:build"
119 }
120 },
121 "test": {
122 "builder": "@angular-devkit/build-angular:karma",
123 "options": {
124 "main": "src/test.ts",
125 "karmaConfig": "./karma.conf.js",
126 "polyfills": "src/polyfills.ts",
127 "tsConfig": "src/tsconfig.spec.json",
128 "scripts": [],
129 "styles": [
130 "src/sass/application.scss"
131 ],
132 "assets": [
133 "src/assets/images",
fcc7c060 134 "src/manifest.webmanifest"
54c3a22f
C
135 ]
136 }
137 },
138 "lint": {
139 "builder": "@angular-devkit/build-angular:tslint",
140 "options": {
141 "tsConfig": [
16b55259 142 "tsconfig.app.json"
54c3a22f
C
143 ],
144 "exclude": [
145 "**/node_modules/**"
146 ]
147 }
3aea8eb2
C
148 },
149 "xliffmerge": {
150 "builder": "@ngx-i18nsupport/tooling:xliffmerge",
151 "options": {
152 "xliffmergeOptions": {
153 "i18nFormat": "xlf",
154 "srcDir": "src/locale",
155 "genDir": "src/locale",
156 "useSourceAsTarget": false,
157 "i18nBaseFile": "angular",
158 "defaultLanguage": "en-US",
159 "languages": [
160 "en-US",
161 "fr-FR"
162 ]
163 }
164 }
54c3a22f
C
165 }
166 }
167 },
168 "PeerTube-e2e": {
74af5a83 169 "root": "e2e/",
54c3a22f
C
170 "sourceRoot": "",
171 "projectType": "application",
172 "architect": {
173 "e2e": {
174 "builder": "@angular-devkit/build-angular:protractor",
175 "options": {
74af5a83
C
176 "protractorConfig": "e2e/protractor.conf.js",
177 "devServerTarget": "PeerTube:serve:e2e"
9e3e2481
RK
178 },
179 "configurations": {
180 "local": {
181 "protractorConfig": "e2e/local-protractor.conf.js"
182 }
54c3a22f
C
183 }
184 },
185 "lint": {
186 "builder": "@angular-devkit/build-angular:tslint",
187 "options": {
188 "tsConfig": [
189 "e2e/tsconfig.e2e.json"
190 ],
191 "exclude": [
192 "**/node_modules/**"
193 ]
194 }
195 }
196 }
197 }
198 },
199 "defaultProject": "PeerTube",
200 "schematics": {
201 "@schematics/angular:component": {
202 "prefix": "app",
203 "styleext": "scss"
204 },
205 "@schematics/angular:directive": {
206 "prefix": "app"
207 }
208 }
17c49e60 209}