angular.json 5.63 KB
Newer Older
naji's avatar
naji committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "vitamui-library": {
      "projectType": "library",
      "schematics": {
        "@schematics/angular:component": {
          "prefix": "vitamui",
          "styleext": "scss"
        },
        "@schematics/angular:directive": {
          "prefix": "vitamui"
        }
      },
      "root": "projects/vitamui-library",
      "sourceRoot": "projects/vitamui-library/src",
      "prefix": "vitamui",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-ng-packagr:build",
          "options": {
            "tsConfig": "projects/vitamui-library/tsconfig.lib.json",
            "project": "projects/vitamui-library/ng-package.json"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "projects/vitamui-library/src/test.ts",
            "tsConfig": "projects/vitamui-library/tsconfig.spec.json",
            "karmaConfig": "projects/vitamui-library/karma.conf.js"
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "projects/vitamui-library/tsconfig.lib.json",
              "projects/vitamui-library/tsconfig.spec.json"
            ],
            "exclude": [
              "**/node_modules/**"
            ]
          }
        }
      }
    },
    "pastis": {
      "root": "projects/pastis/",
      "sourceRoot": "projects/pastis/src",
      "projectType": "application",
      "architect": {
        "build": {
          "builder": "@angular-builders/custom-webpack:browser",
          "options": {
            "customWebpackConfig": {
              "path": "./extra-webpack.config.js"
            },
            "outputPath": "../ui-pastis/src/main/resources/public",
            "index": "projects/pastis/src/index.html",
            "main": "projects/pastis/src/main.ts",
            "polyfills": "projects/pastis/src/polyfills.ts",
            "tsConfig": "projects/pastis/tsconfig.app.json",
            "rebaseRootRelativeCssUrls": true,
            "assets": [
              "projects/pastis/src/assets",
              "projects/pastis/src/favicon.ico",
              {
                "glob": "**/*",
                "input": "node_modules/ui-frontend-common/assets",
                "output": "/assets"
              }
            ],
            "styles": [
              "projects/pastis/src/sass/styles.scss",
              "projects/pastis/src/assets/css/_colors.scss"
            ],
            "stylePreprocessorOptions": {
              "includePaths": [
                "projects/commons/src/sass"
              ]
            },
            "scripts": []
          },
          "configurations": {
            "standalone": {
              "fileReplacements": [
                {
                  "replace": "projects/pastis/src/environments/environment.ts",
                  "with": "projects/pastis/src/environments/environment.standalone.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "2mb",
                  "maximumError": "17mb"
                }
              ]
            }
          }
        },
        "serve": {
          "builder": "@angular-builders/custom-webpack:dev-server",
          "options": {
            "browserTarget": "pastis:build",
zikas96's avatar
zikas96 committed
117
            "host": "sandbox23-adm.cines.fr",
naji's avatar
naji committed
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
            "port": 4251
          },
          "configurations": {
            "production": {
              "browserTarget": "pastis:build:production"
            }
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "pastis:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "projects/pastis/src/test.ts",
            "polyfills": "projects/pastis/src/polyfills.ts",
            "tsConfig": "projects/pastis/tsconfig.spec.json",
unknown's avatar
unknown committed
138
            "karmaConfig": "projects/pastis/karma.conf.ci.js",
naji's avatar
naji committed
139
140
141
142
143
            "assets": [
              "projects/pastis/src/favicon.ico",
              "projects/pastis/src/assets"
            ],
            "styles": [
unknown's avatar
unknown committed
144
              "projects/pastis/src/sass/styles.scss"
naji's avatar
naji committed
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
            ],
            "scripts": []
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "projects/pastis/tsconfig.app.json",
              "projects/pastis/tsconfig.spec.json",
              "projects/pastis/e2e/tsconfig.json"
            ],
            "exclude": [
              "**/node_modules/**"
            ]
          }
        },
        "e2e": {
          "builder": "@angular-devkit/build-angular:protractor",
          "options": {
            "protractorConfig": "projects/pastis/e2e/protractor.conf.js",
            "devServerTarget": "pastis:serve"
          },
          "configurations": {
            "production": {
              "devServerTarget": "pastis:serve:production"
            }
          }
        }
      }
    }
  },
  "defaultProject": "pastis",
  "cli": {
    "analytics": false
  }
}