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