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
              "src/assets/search.scss",
27
              "node_modules/datatables.net-dt/css/jquery.dataTables.css"
28
            ],
29
            "scripts": [
30
              "node_modules/jquery/dist/jquery.js",
31
              "node_modules/datatables.net/js/jquery.dataTables.js"
32
            ]
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,
45
              "fileReplacements": [
46
                {
47
                  "replace": "src/environments/environment.ts",
48
                  "with": "src/environments/environment.prod.ts"
49
                }
50
              ]
51
            },
52
            "beta": {
53
              "optimization": true,
54
              "outputHashing": "all",
55
              "sourceMap": false,
56
              "extractCss": true,
57
              "namedChunks": false,
58
              "aot": true,
59
              "extractLicenses": true,
60
              "vendorChunk": false,
61
              "buildOptimizer": true,
62
              "fileReplacements": [
63
                {
64
                  "replace": "src/environments/environment.ts",
65
                  "with": "src/environments/environment.beta.ts"
66
                }
67
              ]
68
            }
69
          }
70
        },
71
        "serve": {
72
          "builder": "@angular-devkit/build-angular:dev-server",
73
          "options": {
74
            "browserTarget": "ng-universal-demo:build"
75
          },
76
          "configurations": {
77
            "production": {
78
              "browserTarget": "ng-universal-demo:build:production"
79
            },
80
            "beta": {
81
              "browserTarget": "ng-universal-demo:build:beta"
82
            }
83
          }
84
        },
85
        "extract-i18n": {
86
          "builder": "@angular-devkit/build-angular:extract-i18n",
87
          "options": {
88
            "browserTarget": "ng-universal-demo:build"
89
          }
90
        },
91
        "test": {
92
          "builder": "@angular-devkit/build-angular:karma",
93
          "options": {
94
            "main": "src/test.ts",
95
            "karmaConfig": "./karma.conf.js",
96
            "polyfills": "src/polyfills.ts",
97
            "tsConfig": "src/tsconfig.spec.json",
98
            "scripts": [
99
              "node_modules/jquery/dist/jquery.js",
100
              "node_modules/datatables.net/js/jquery.dataTables.js"
101
            ],
102
            "styles": [
103
              "src/styles.css",
104
              "node_modules/datatables.net-dt/css/jquery.dataTables.css"
105
            ],
106
            "assets": [
107
              "src/assets",
108
              "src/robots.txt"
109
            ]
110
          }
111
        },
112
        "lint": {
113
          "builder": "@angular-devkit/build-angular:tslint",
114
          "options": {
115
            "tsConfig": [
116
              "src/tsconfig.app.json",
117
              "src/tsconfig.spec.json"
118
            ],
119
            "exclude": [
120
              "**/node_modules/**"
121
            ]
122
          }
123
        },
124
        "server": {
125
          "builder": "@angular-devkit/build-angular:server",
126
          "options": {
127
            "outputPath": "dist/server",
128
            "main": "src/main.server.ts",
129
            "tsConfig": "src/tsconfig.server.json"
130
          },
131
          "configurations": {
132
            "production": {
133
              "fileReplacements": [
134
                {
135
                  "replace": "src/environments/environment.ts",
136
                  "with": "src/environments/environment.prod.ts"
137
                }
138
              ]
139
            },
140
            "beta": {
141
              "fileReplacements": [
142
                {
143
                  "replace": "src/environments/environment.ts",
144
                  "with": "src/environments/environment.beta.ts"
145
                }
146
              ]
147
            }
148
          }
149
        }
150
      }
151
    },
152
    "ng-universal-demo-e2e": {
153
      "root": "e2e",
154
      "sourceRoot": "e2e",
155
      "projectType": "application",
156
      "architect": {
157
        "e2e": {
158
          "builder": "@angular-devkit/build-angular:protractor",
159
          "options": {
160
            "protractorConfig": "./protractor.conf.js",
161
            "devServerTarget": "ng-universal-demo:serve"
162
          }
163
        },
164
        "lint": {
165
          "builder": "@angular-devkit/build-angular:tslint",
166
          "options": {
167
            "tsConfig": [
168
              "e2e/tsconfig.e2e.json"
169
            ],
170
            "exclude": [
171
              "**/node_modules/**"
172
            ]
173
          }
174
        }
175
      }
176
    }
177
  },
178
  "defaultProject": "ng-universal-demo",
179
  "schematics": {
180
    "@schematics/angular:class": {
181
      "spec": false
182
    },
183
    "@schematics/angular:component": {
184
      "spec": false,
185
      "inlineStyle": true,
186
      "inlineTemplate": true,
187
      "prefix": "app",
188
      "styleext": "css"
189
    },
190
    "@schematics/angular:directive": {
191
      "spec": false,
192
      "prefix": "app"
193
    },
194
    "@schematics/angular:guard": {
195
      "spec": false
196
    },
197
    "@schematics/angular:module": {
198
      "spec": false
199
    },
200
    "@schematics/angular:pipe": {
201
      "spec": false
202
    },
203
    "@schematics/angular:service": {
204
      "spec": false
205
    }
206
  }
207
}
(2-2/8)