Project

General

Profile

1
{
2
  "$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
3
  "version": 1,
4
  "newProjectRoot": "projects",
5
  "projects": {
6
    "ng-universal-demo": {
7
      "root": "",
8
      "sourceRoot": "src",
9
      "projectType": "application",
10
      "architect": {
11
        "build": {
12
          "builder": "@angular-devkit/build-angular:browser",
13
          "options": {
14
            "outputPath": "dist/browser",
15
            "index": "src/index.html",
16
            "main": "src/main.ts",
17
            "tsConfig": "src/tsconfig.app.json",
18
            "polyfills": "src/polyfills.ts",
19
            "assets": [
20
              "src/assets",
21
              "src/robots.txt"
22
            ],
23
            "styles": [
24
              "src/styles.css",
25
              "src/material.scss",
26
              "node_modules/datatables.net-dt/css/jquery.dataTables.css"
27
            ],
28
            "scripts": [
29
              "src/assets/common-assets/common/jquery.js",
30
              "src/assets/common-assets/common/uikit.min.js",
31
              "src/assets/common-assets/common/uikit-icons.min.js",
32
              "node_modules/jquery/dist/jquery.js",
33
              "node_modules/datatables.net/js/jquery.dataTables.js"
34
            ]
35
          },
36
          "configurations": {
37
            "production": {
38
              "optimization": true,
39
              "outputHashing": "all",
40
              "sourceMap": false,
41
              "extractCss": true,
42
              "namedChunks": false,
43
              "aot": true,
44
              "extractLicenses": true,
45
              "vendorChunk": false,
46
              "buildOptimizer": true,
47
              "fileReplacements": [
48
                {
49
                  "replace": "src/environments/environment.ts",
50
                  "with": "src/environments/environment.prod.ts"
51
                },
52
                {
53
                  "replace": "src/index.html",
54
                  "with": "src/index.prod.html"
55
                },
56
                {
57
                  "replace": "src/robots.txt",
58
                  "with": "src/robots.prod.txt"
59
                }
60
              ]
61
            },
62
            "beta": {
63
              "optimization": true,
64
              "outputHashing": "all",
65
              "sourceMap": false,
66
              "extractCss": true,
67
              "namedChunks": false,
68
              "aot": true,
69
              "extractLicenses": true,
70
              "vendorChunk": false,
71
              "buildOptimizer": true,
72
              "fileReplacements": [
73
                {
74
                  "replace": "src/environments/environment.ts",
75
                  "with": "src/environments/environment.beta.ts"
76
                }
77
              ]
78
            }
79
          }
80
        },
81
        "serve": {
82
          "builder": "@angular-devkit/build-angular:dev-server",
83
          "options": {
84
            "browserTarget": "ng-universal-demo:build"
85
          },
86
          "configurations": {
87
            "production": {
88
              "browserTarget": "ng-universal-demo:build:production"
89
            },
90
            "beta": {
91
              "browserTarget": "ng-universal-demo:build:beta"
92
            }
93
          }
94
        },
95
        "extract-i18n": {
96
          "builder": "@angular-devkit/build-angular:extract-i18n",
97
          "options": {
98
            "browserTarget": "ng-universal-demo:build"
99
          }
100
        },
101
        "test": {
102
          "builder": "@angular-devkit/build-angular:karma",
103
          "options": {
104
            "main": "src/test.ts",
105
            "karmaConfig": "./karma.conf.js",
106
            "polyfills": "src/polyfills.ts",
107
            "tsConfig": "src/tsconfig.spec.json",
108
            "scripts": [
109
              "src/assets/common-assets/common/jquery.js",
110
              "src/assets/common-assets/common/uikit.min.js",
111
              "src/assets/common-assets/common/uikit-icons.min.js",
112
              "node_modules/jquery/dist/jquery.js"
113
            ],
114
            "styles": [
115
              "src/styles.css",
116
              "node_modules/datatables.net-dt/css/jquery.dataTables.css"
117
            ],
118
            "assets": [
119
              "src/assets",
120
              "src/robots.txt"
121
            ]
122
          }
123
        },
124
        "lint": {
125
          "builder": "@angular-devkit/build-angular:tslint",
126
          "options": {
127
            "tsConfig": [
128
              "src/tsconfig.app.json",
129
              "src/tsconfig.spec.json"
130
            ],
131
            "exclude": [
132
              "**/node_modules/**"
133
            ]
134
          }
135
        },
136
        "server": {
137
          "builder": "@angular-devkit/build-angular:server",
138
          "options": {
139
            "outputPath": "dist/server",
140
            "main": "src/main.server.ts",
141
            "tsConfig": "src/tsconfig.server.json"
142
          },
143
          "configurations": {
144
            "production": {
145
              "fileReplacements": [
146
                {
147
                  "replace": "src/environments/environment.ts",
148
                  "with": "src/environments/environment.prod.ts"
149
                },
150
                {
151
                  "replace": "src/index.html",
152
                  "with": "src/index.prod.html"
153
                },
154
                {
155
                  "replace": "src/robots.txt",
156
                  "with": "src/robots.prod.txt"
157
                }
158
              ]
159
            },
160
            "beta": {
161
              "fileReplacements": [
162
                {
163
                  "replace": "src/environments/environment.ts",
164
                  "with": "src/environments/environment.beta.ts"
165
                }
166
              ]
167
            }
168
          }
169
        }
170
      }
171
    },
172
    "ng-universal-demo-e2e": {
173
      "root": "e2e",
174
      "sourceRoot": "e2e",
175
      "projectType": "application",
176
      "architect": {
177
        "e2e": {
178
          "builder": "@angular-devkit/build-angular:protractor",
179
          "options": {
180
            "protractorConfig": "./protractor.conf.js",
181
            "devServerTarget": "ng-universal-demo:serve"
182
          }
183
        },
184
        "lint": {
185
          "builder": "@angular-devkit/build-angular:tslint",
186
          "options": {
187
            "tsConfig": [
188
              "e2e/tsconfig.e2e.json"
189
            ],
190
            "exclude": [
191
              "**/node_modules/**"
192
            ]
193
          }
194
        }
195
      }
196
    }
197
  },
198
  "defaultProject": "ng-universal-demo",
199
  "schematics": {
200
    "@schematics/angular:class": {
201
      "spec": false
202
    },
203
    "@schematics/angular:component": {
204
      "spec": false,
205
      "inlineStyle": true,
206
      "inlineTemplate": true,
207
      "prefix": "app",
208
      "styleext": "css"
209
    },
210
    "@schematics/angular:directive": {
211
      "spec": false,
212
      "prefix": "app"
213
    },
214
    "@schematics/angular:guard": {
215
      "spec": false
216
    },
217
    "@schematics/angular:module": {
218
      "spec": false
219
    },
220
    "@schematics/angular:pipe": {
221
      "spec": false
222
    },
223
    "@schematics/angular:service": {
224
      "spec": false
225
    }
226
  }
227
}
(2-2/8)