]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/angular.json
Fix peertube auth help
[github/Chocobozzz/PeerTube.git] / client / angular.json
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": {
14 "deployUrl": "client/",
15 "outputPath": "dist",
16 "index": "src/index.html",
17 "main": "src/main.ts",
18 "tsConfig": "src/tsconfig.app.json",
19 "polyfills": "src/polyfills.ts",
20 "stylePreprocessorOptions": {
21 "includePaths": [
22 "src/sass/include"
23 ]
24 },
25 "assets": [
26 "src/assets/images",
27 "src/manifest.webmanifest"
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,
45 "serviceWorker": true,
46 "ngswConfigPath": "src/ngsw-config.json",
47 "fileReplacements": [
48 {
49 "replace": "src/environments/environment.ts",
50 "with": "src/environments/environment.prod.ts"
51 }
52 ]
53 },
54 "hmr": {
55 "fileReplacements": [
56 {
57 "replace": "src/environments/environment.ts",
58 "with": "src/environments/environment.hmr.ts"
59 }
60 ]
61 },
62 "e2e": {
63 "fileReplacements": [
64 {
65 "replace": "src/environments/environment.ts",
66 "with": "src/environments/environment.e2e.ts"
67 }
68 ]
69 }
70 }
71 },
72 "serve": {
73 "builder": "@angular-devkit/build-angular:dev-server",
74 "options": {
75 "baseHref": "/",
76 "deployUrl": "client/",
77 "browserTarget": "PeerTube:build"
78 },
79 "configurations": {
80 "production": {
81 "browserTarget": "PeerTube:build:production"
82 },
83 "hmr": {
84 "browserTarget": "PeerTube:build:hmr"
85 },
86 "e2e": {
87 "browserTarget": "PeerTube:build:e2e"
88 }
89 }
90 },
91 "extract-i18n": {
92 "builder": "@angular-devkit/build-angular:extract-i18n",
93 "options": {
94 "browserTarget": "PeerTube:build"
95 }
96 },
97 "test": {
98 "builder": "@angular-devkit/build-angular:karma",
99 "options": {
100 "main": "src/test.ts",
101 "karmaConfig": "./karma.conf.js",
102 "polyfills": "src/polyfills.ts",
103 "tsConfig": "src/tsconfig.spec.json",
104 "scripts": [],
105 "styles": [
106 "src/sass/application.scss"
107 ],
108 "assets": [
109 "src/assets/images",
110 "src/manifest.webmanifest"
111 ]
112 }
113 },
114 "lint": {
115 "builder": "@angular-devkit/build-angular:tslint",
116 "options": {
117 "tsConfig": [
118 "src/tsconfig.app.json",
119 "src/tsconfig.spec.json"
120 ],
121 "exclude": [
122 "**/node_modules/**"
123 ]
124 }
125 }
126 }
127 },
128 "PeerTube-e2e": {
129 "root": "e2e/",
130 "sourceRoot": "",
131 "projectType": "application",
132 "architect": {
133 "e2e": {
134 "builder": "@angular-devkit/build-angular:protractor",
135 "options": {
136 "protractorConfig": "e2e/protractor.conf.js",
137 "devServerTarget": "PeerTube:serve:e2e"
138 },
139 "configurations": {
140 "local": {
141 "protractorConfig": "e2e/local-protractor.conf.js"
142 }
143 }
144 },
145 "lint": {
146 "builder": "@angular-devkit/build-angular:tslint",
147 "options": {
148 "tsConfig": [
149 "e2e/tsconfig.e2e.json"
150 ],
151 "exclude": [
152 "**/node_modules/**"
153 ]
154 }
155 }
156 }
157 }
158 },
159 "defaultProject": "PeerTube",
160 "schematics": {
161 "@schematics/angular:component": {
162 "prefix": "app",
163 "styleext": "scss"
164 },
165 "@schematics/angular:directive": {
166 "prefix": "app"
167 }
168 }
169 }