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