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