aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular.json
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-15 10:58:08 +0200
committerChocobozzz <me@florianbigard.com>2018-05-16 09:42:53 +0200
commit54c3a22faa04bf13eea37f39be9149fc5eb95737 (patch)
tree0694d39acbc214093799999e8bd87c6a45274bbf /client/angular.json
parented9118bad05bcf4fe8ca06bf855d44cc23c51de1 (diff)
downloadPeerTube-54c3a22faa04bf13eea37f39be9149fc5eb95737.tar.gz
PeerTube-54c3a22faa04bf13eea37f39be9149fc5eb95737.tar.zst
PeerTube-54c3a22faa04bf13eea37f39be9149fc5eb95737.zip
Upgrade Angular first step
Diffstat (limited to 'client/angular.json')
-rw-r--r--client/angular.json139
1 files changed, 139 insertions, 0 deletions
diff --git a/client/angular.json b/client/angular.json
new file mode 100644
index 000000000..4a03d7cfe
--- /dev/null
+++ b/client/angular.json
@@ -0,0 +1,139 @@
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 "outputPath": "dist",
15 "index": "src/index.html",
16 "main": "src/main.ts",
17 "tsConfig": "src/tsconfig.app.json",
18 "polyfills": "src/polyfills.ts",
19 "stylePreprocessorOptions": {
20 "includePaths": [
21 "src/sass/include"
22 ]
23 },
24 "assets": [
25 "src/assets/images",
26 "src/manifest.json"
27 ],
28 "styles": [
29 "src/sass/application.scss"
30 ],
31 "scripts": []
32 },
33 "configurations": {
34 "production": {
35 "optimization": true,
36 "outputHashing": "all",
37 "sourceMap": false,
38 "extractCss": true,
39 "namedChunks": false,
40 "aot": true,
41 "extractLicenses": true,
42 "vendorChunk": false,
43 "buildOptimizer": true,
44 "serviceWorker": true,
45 "ngswConfigPath": "/src/ngsw-config.json",
46 "fileReplacements": [
47 {
48 "replace": "src/environments/environment.ts",
49 "with": "src/environments/environment.prod.ts"
50 }
51 ]
52 }
53 }
54 },
55 "serve": {
56 "builder": "@angular-devkit/build-angular:dev-server",
57 "options": {
58 "browserTarget": "PeerTube:build"
59 },
60 "configurations": {
61 "production": {
62 "browserTarget": "PeerTube:build:production"
63 }
64 }
65 },
66 "extract-i18n": {
67 "builder": "@angular-devkit/build-angular:extract-i18n",
68 "options": {
69 "browserTarget": "PeerTube:build"
70 }
71 },
72 "test": {
73 "builder": "@angular-devkit/build-angular:karma",
74 "options": {
75 "main": "src/test.ts",
76 "karmaConfig": "./karma.conf.js",
77 "polyfills": "src/polyfills.ts",
78 "tsConfig": "src/tsconfig.spec.json",
79 "scripts": [],
80 "styles": [
81 "src/sass/application.scss"
82 ],
83 "assets": [
84 "src/assets/images",
85 "src/manifest.json"
86 ]
87 }
88 },
89 "lint": {
90 "builder": "@angular-devkit/build-angular:tslint",
91 "options": {
92 "tsConfig": [
93 "src/tsconfig.app.json",
94 "src/tsconfig.spec.json"
95 ],
96 "exclude": [
97 "**/node_modules/**"
98 ]
99 }
100 }
101 }
102 },
103 "PeerTube-e2e": {
104 "root": "",
105 "sourceRoot": "",
106 "projectType": "application",
107 "architect": {
108 "e2e": {
109 "builder": "@angular-devkit/build-angular:protractor",
110 "options": {
111 "protractorConfig": "./protractor.conf.js",
112 "devServerTarget": "PeerTube:serve"
113 }
114 },
115 "lint": {
116 "builder": "@angular-devkit/build-angular:tslint",
117 "options": {
118 "tsConfig": [
119 "e2e/tsconfig.e2e.json"
120 ],
121 "exclude": [
122 "**/node_modules/**"
123 ]
124 }
125 }
126 }
127 }
128 },
129 "defaultProject": "PeerTube",
130 "schematics": {
131 "@schematics/angular:component": {
132 "prefix": "app",
133 "styleext": "scss"
134 },
135 "@schematics/angular:directive": {
136 "prefix": "app"
137 }
138 }
139} \ No newline at end of file