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
              "node_modules/datatables.net/js/jquery.dataTables.js"
114
            ],
115
            "styles": [
116
              "src/styles.css",
117
              "node_modules/datatables.net-dt/css/jquery.dataTables.css"
118
            ],
119
            "assets": [
120
              "src/assets",
121
              "src/robots.txt"
122
            ]
123
          }
124
        },
125
        "lint": {
126
          "builder": "@angular-devkit/build-angular:tslint",
127
          "options": {
128
            "tsConfig": [
129
              "src/tsconfig.app.json",
130
              "src/tsconfig.spec.json"
131
            ],
132
            "exclude": [
133
              "**/node_modules/**"
134
            ]
135
          }
136
        },
137
        "server": {
138
          "builder": "@angular-devkit/build-angular:server",
139
          "options": {
140
            "outputPath": "dist/server",
141
            "main": "src/main.server.ts",
142
            "tsConfig": "src/tsconfig.server.json"
143
          },
144
          "configurations": {
145
            "production": {
146
              "fileReplacements": [
147
                {
148
                  "replace": "src/environments/environment.ts",
149
                  "with": "src/environments/environment.prod.ts"
150
                },
151
                {
152
                  "replace": "src/index.html",
153
                  "with": "src/index.prod.html"
154
                },
155
                {
156
                  "replace": "src/robots.txt",
157
                  "with": "src/robots.prod.txt"
158
                }
159
              ]
160
            },
161
            "beta": {
162
              "fileReplacements": [
163
                {
164
                  "replace": "src/environments/environment.ts",
165
                  "with": "src/environments/environment.beta.ts"
166
                }
167
              ]
168
            }
169
          }
170
        }
171
      }
172
    },
173
    "ng-universal-demo-e2e": {
174
      "root": "e2e",
175
      "sourceRoot": "e2e",
176
      "projectType": "application",
177
      "architect": {
178
        "e2e": {
179
          "builder": "@angular-devkit/build-angular:protractor",
180
          "options": {
181
            "protractorConfig": "./protractor.conf.js",
182
            "devServerTarget": "ng-universal-demo:serve"
183
          }
184
        },
185
        "lint": {
186
          "builder": "@angular-devkit/build-angular:tslint",
187
          "options": {
188
            "tsConfig": [
189
              "e2e/tsconfig.e2e.json"
190
            ],
191
            "exclude": [
192
              "**/node_modules/**"
193
            ]
194
          }
195
        }
196
      }
197
    }
198
  },
199
  "defaultProject": "ng-universal-demo",
200
  "schematics": {
201
    "@schematics/angular:class": {
202
      "spec": false
203
    },
204
    "@schematics/angular:component": {
205
      "spec": false,
206
      "inlineStyle": true,
207
      "inlineTemplate": true,
208
      "prefix": "app",
209
      "styleext": "css"
210
    },
211
    "@schematics/angular:directive": {
212
      "spec": false,
213
      "prefix": "app"
214
    },
215
    "@schematics/angular:guard": {
216
      "spec": false
217
    },
218
    "@schematics/angular:module": {
219
      "spec": false
220
    },
221
    "@schematics/angular:pipe": {
222
      "spec": false
223
    },
224
    "@schematics/angular:service": {
225
      "spec": false
226
    }
227
  }
228
}
(2-2/8)