Skip to content
Snippets Groups Projects
Select Git revision
  • bfd7ca01566564e8840e3f4f734f90d89af49a8e
  • master default protected
  • renovate/configure
  • development protected
  • Sollicit_10-02-2022
  • opsec
  • DOS99492_TAC
  • TACtest
  • poc-oidc
  • ssr-wip
  • patch-1
  • fix-issue-157
  • download-tab
  • us-446-message-banner
  • remote-openmaptiles
  • us-339-filter-map-search
  • stream_wfs_map
  • mwv_and_wms_together
  • mvt_with_wms_style
  • map_vector_source
  • feature-329-consent
  • v2.8.2
  • v2.8.1
  • v2.8.0
  • v2.7.9
  • v2.7.8
  • v2.7.7
  • v2.7.6
  • v2.7.5
  • v2.7.4
  • v2.7.3
  • v2.7.2
  • v2.7.1
  • v2.7.0
  • v2.6.16
  • v2.6.15
  • v2.6.14
  • v2.6.13
  • v2.6.12
  • v2.6.11
  • v2.6.10
41 results

angular.json

Blame
  • angular.json 7.86 KiB
    {
      "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
      "version": 1,
      "newProjectRoot": "projects",
      "projects": {
        "webapp": {
          "i18n": {
            "locales": {
              "fr": {
                "translation": "src/i18n/messages.fr.xlf",
                "baseHref": ""
              },
              "en": "src/i18n/messages.en.xlf"
            }
          },
          "root": "",
          "sourceRoot": "src",
          "projectType": "application",
          "architect": {
            "build": {
              "builder": "@angular-devkit/build-angular:browser",
              "options": {
                "aot": true,
                "outputPath": "dist",
                "index": "src/index.html",
                "main": "src/main.ts",
                "tsConfig": "src/tsconfig.app.json",
                "polyfills": "src/polyfills.ts",
                "assets": [
                  "src/assets",
                  "src/favicon.ico",
                  "src/robots.txt"
                ],
                "styles": [
                  "src/styles.scss"
                ],
                "scripts": []
              },
              "configurations": {
                "aot-fr": {
                  "budgets": [
                    {
                      "type": "anyComponentStyle",
                      "maximumWarning": "6kb"
                    }
                  ],
                  "localize": [
                    "fr"
                  ],
                  "optimization": false,
                  "outputHashing": "all",
                  "sourceMap": true,
                  "namedChunks": false,
                  "aot": true,
                  "extractLicenses": true,
                  "vendorChunk": false,
                  "buildOptimizer": false,
                  "fileReplacements": [
                    {
                      "replace": "src/i18n/traductions.ts",
                      "with": "src/i18n/traductions.fr.ts"
                    }
                  ]
                },
                "aot-en": {
                  "budgets": [
                    {
                      "type": "anyComponentStyle",
                      "maximumWarning": "26kb"
                    }
                  ],
                  "localize": [
                    "en"
                  ],
                  "optimization": false,
                  "outputHashing": "all",
                  "sourceMap": true,
                  "namedChunks": false,
                  "aot": true,
                  "extractLicenses": true,
                  "vendorChunk": false,
                  "buildOptimizer": false
                },
                "development-en": {
                  "budgets": [
                    {
                      "type": "anyComponentStyle",
                      "maximumWarning": "10kb"
                    }
                  ],
                  "localize": [
                    "en"
                  ],
                  "optimization": false,
                  "outputHashing": "all",
                  "sourceMap": true,
                  "namedChunks": false,
                  "aot": true,
                  "extractLicenses": true,
                  "vendorChunk": false,
                  "buildOptimizer": false,
                  "fileReplacements": [],
                  "outputPath": "dist"
                },
                "development-fr": {
                  "budgets": [
                    {
                      "type": "anyComponentStyle",
                      "maximumWarning": "6kb"
                    }
                  ],
                  "localize": [
                    "fr"
                  ],
                  "optimization": false,
                  "outputHashing": "all",
                  "sourceMap": true,
                  "namedChunks": false,
                  "aot": true,
                  "extractLicenses": true,
                  "vendorChunk": false,
                  "buildOptimizer": false,
                  "fileReplacements": [
                    {
                      "replace": "src/i18n/traductions.ts",
                      "with": "src/i18n/traductions.fr.ts"
                    }
                  ],
                  "outputPath": "dist"
                },
                "production-en": {
                  "budgets": [
                    {
                      "type": "anyComponentStyle",
                      "maximumWarning": "6kb"
                    }
                  ],
                  "localize": [
                    "en"
                  ],
                  "optimization": true,
                  "outputHashing": "all",
                  "sourceMap": false,
                  "namedChunks": false,
                  "aot": true,
                  "extractLicenses": true,
                  "vendorChunk": false,
                  "buildOptimizer": true,
                  "fileReplacements": [
                    {
                      "replace": "src/environments/environment.ts",
                      "with": "src/environments/environment.production.ts"
                    }
                  ],
                  "outputPath": "dist"
                },
                "production-fr": {
                  "budgets": [
                    {
                      "type": "anyComponentStyle",
                      "maximumWarning": "6kb"
                    }
                  ],
                  "localize": [
                    "fr"
                  ],
                  "optimization": true,
                  "outputHashing": "all",
                  "sourceMap": false,
                  "namedChunks": false,
                  "aot": true,
                  "extractLicenses": true,
                  "vendorChunk": false,
                  "buildOptimizer": true,
                  "fileReplacements": [
                    {
                      "replace": "src/environments/environment.ts",
                      "with": "src/environments/environment.production.ts"
                    },
                    {
                      "replace": "src/i18n/traductions.ts",
                      "with": "src/i18n/traductions.fr.ts"
                    }
                  ],
                  "outputPath": "dist"
                }
              }
            },
            "serve": {
              "builder": "@angular-devkit/build-angular:dev-server",
              "options": {
                "browserTarget": "webapp:build"
              },
              "configurations": {
                "production": {
                  "browserTarget": "webapp:build:production"
                },
                "aot-en": {
                  "browserTarget": "webapp:build:aot-en"
                },
                "aot-fr": {
                  "browserTarget": "webapp:build:aot-fr"
                }
              }
            },
            "extract-i18n": {
              "builder": "@angular-devkit/build-angular:extract-i18n",
              "options": {
                "browserTarget": "webapp:build"
              }
            },
            "test": {
              "builder": "@angular-devkit/build-angular:karma",
              "options": {
                "main": "src/test.ts",
                "karmaConfig": "./karma.conf.js",
                "polyfills": "src/polyfills.ts",
                "tsConfig": "src/tsconfig.spec.json",
                "scripts": [],
                "styles": [
                  "src/styles.scss"
                ],
                "assets": [
                  "src/assets",
                  "src/favicon.ico",
                  "src/robots.txt"
                ]
              }
            },
            "lint": {
              "builder": "@angular-devkit/build-angular:tslint",
              "options": {
                "tsConfig": [
                  "src/tsconfig.app.json",
                  "src/tsconfig.spec.json"
                ],
                "exclude": [
                  "**/node_modules/**"
                ]
              }
            }
          }
        },
        "webapp-e2e": {
          "root": "",
          "sourceRoot": "e2e",
          "projectType": "application",
          "architect": {
            "e2e": {
              "builder": "@angular-devkit/build-angular:protractor",
              "options": {
                "protractorConfig": "./protractor.conf.js",
                "devServerTarget": "webapp:serve"
              }
            },
            "lint": {
              "builder": "@angular-devkit/build-angular:tslint",
              "options": {
                "tsConfig": [
                  "e2e/tsconfig.e2e.json"
                ],
                "exclude": [
                  "**/node_modules/**"
                ]
              }
            }
          }
        }
      },
      "defaultProject": "webapp",
      "schematics": {
        "@schematics/angular:component": {
          "prefix": "app",
          "style": "scss"
        },
        "@schematics/angular:directive": {
          "prefix": "app"
        }
      }
    }