aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular.json
diff options
context:
space:
mode:
Diffstat (limited to 'client/angular.json')
-rw-r--r--client/angular.json28
1 files changed, 25 insertions, 3 deletions
diff --git a/client/angular.json b/client/angular.json
index 8e7bbdf06..789eeb3d0 100644
--- a/client/angular.json
+++ b/client/angular.json
@@ -50,6 +50,22 @@
50 "with": "src/environments/environment.prod.ts" 50 "with": "src/environments/environment.prod.ts"
51 } 51 }
52 ] 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 ]
53 } 69 }
54 } 70 }
55 }, 71 },
@@ -61,6 +77,12 @@
61 "configurations": { 77 "configurations": {
62 "production": { 78 "production": {
63 "browserTarget": "PeerTube:build:production" 79 "browserTarget": "PeerTube:build:production"
80 },
81 "hmr": {
82 "browserTarget": "PeerTube:build:hmr"
83 },
84 "e2e": {
85 "browserTarget": "PeerTube:build:e2e"
64 } 86 }
65 } 87 }
66 }, 88 },
@@ -102,15 +124,15 @@
102 } 124 }
103 }, 125 },
104 "PeerTube-e2e": { 126 "PeerTube-e2e": {
105 "root": "", 127 "root": "e2e/",
106 "sourceRoot": "", 128 "sourceRoot": "",
107 "projectType": "application", 129 "projectType": "application",
108 "architect": { 130 "architect": {
109 "e2e": { 131 "e2e": {
110 "builder": "@angular-devkit/build-angular:protractor", 132 "builder": "@angular-devkit/build-angular:protractor",
111 "options": { 133 "options": {
112 "protractorConfig": "./protractor.conf.js", 134 "protractorConfig": "e2e/protractor.conf.js",
113 "devServerTarget": "PeerTube:serve" 135 "devServerTarget": "PeerTube:serve:e2e"
114 } 136 }
115 }, 137 },
116 "lint": { 138 "lint": {