]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/angular.json
Add patch for angular cli 6
[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",
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.json"
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,
17c49e60 45 "serviceWorker": false,
54c3a22f
C
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 }
55 },
56 "serve": {
57 "builder": "@angular-devkit/build-angular:dev-server",
58 "options": {
59 "browserTarget": "PeerTube:build"
60 },
61 "configurations": {
62 "production": {
63 "browserTarget": "PeerTube:build:production"
64 }
65 }
66 },
67 "extract-i18n": {
68 "builder": "@angular-devkit/build-angular:extract-i18n",
69 "options": {
70 "browserTarget": "PeerTube:build"
71 }
72 },
73 "test": {
74 "builder": "@angular-devkit/build-angular:karma",
75 "options": {
76 "main": "src/test.ts",
77 "karmaConfig": "./karma.conf.js",
78 "polyfills": "src/polyfills.ts",
79 "tsConfig": "src/tsconfig.spec.json",
80 "scripts": [],
81 "styles": [
82 "src/sass/application.scss"
83 ],
84 "assets": [
85 "src/assets/images",
86 "src/manifest.json"
87 ]
88 }
89 },
90 "lint": {
91 "builder": "@angular-devkit/build-angular:tslint",
92 "options": {
93 "tsConfig": [
94 "src/tsconfig.app.json",
95 "src/tsconfig.spec.json"
96 ],
97 "exclude": [
98 "**/node_modules/**"
99 ]
100 }
101 }
102 }
103 },
104 "PeerTube-e2e": {
105 "root": "",
106 "sourceRoot": "",
107 "projectType": "application",
108 "architect": {
109 "e2e": {
110 "builder": "@angular-devkit/build-angular:protractor",
111 "options": {
112 "protractorConfig": "./protractor.conf.js",
113 "devServerTarget": "PeerTube:serve"
114 }
115 },
116 "lint": {
117 "builder": "@angular-devkit/build-angular:tslint",
118 "options": {
119 "tsConfig": [
120 "e2e/tsconfig.e2e.json"
121 ],
122 "exclude": [
123 "**/node_modules/**"
124 ]
125 }
126 }
127 }
128 }
129 },
130 "defaultProject": "PeerTube",
131 "schematics": {
132 "@schematics/angular:component": {
133 "prefix": "app",
134 "styleext": "scss"
135 },
136 "@schematics/angular:directive": {
137 "prefix": "app"
138 }
139 }
17c49e60 140}