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