Skip to content
Snippets Groups Projects
Select Git revision
  • 310591ed96ef2815b43be6bba7a88c6d1296e6d4
  • master default protected
  • csv_export
  • ndex
  • v1.1.18-rc2
  • v1.1.17
  • v1.1.16
  • v1.1.16-rc12
  • v1.1.16-rc11
  • v1.1.16-rc10
  • v1.1.16-rc9
  • v1.1.16-rc8
  • v1.1.16-rc7
  • v1.1.16-rc4
  • v1.1.16-rc3
  • v1.1.16-rc1
  • v1.1.6-rc1
  • v1.1.15
  • v1.1.15-rc7
  • v1.1.15-rc6
  • v1.1.15-rc3
  • v1.1.15-rc1
  • v1.1.14
  • v1.1.13
24 results

angular.json

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    angular.json 5.13 KiB
    {
      "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
      "version": 1,
      "newProjectRoot": "projects",
      "projects": {
        "netex": {
          "projectType": "application",
          "schematics": {
            "@schematics/angular:component": {
              "style": "scss"
            }
          },
          "root": "",
          "sourceRoot": "src",
          "prefix": "app",
          "architect": {
            "build": {
              "builder": "@angular-builders/custom-webpack:browser",
              "options": {
                "customWebpackConfig": {
                  "path": "./extra-webpack.config.js",
                  "mergeRules": {
                    "externals": "replace"
                  }
                },
                "allowedCommonJsDependencies": [
                  "lodash"
                ],
                "outputPath": "dist/netex",
                "index": "src/index.html",
                "main": "src/main.ts",
                "polyfills": "src/polyfills.ts",
                "tsConfig": "tsconfig.app.json",
                "assets": [
                  "src/favicon.ico",
                  "src/assets"
                ],
                "styles": [
                  "src/stylesheets/theme-styles.scss",
                  "src/stylesheets/styles.scss"
                ],
                "scripts": [],
                "crossOrigin": "use-credentials",
                "vendorChunk": true,
                "extractLicenses": false,
                "buildOptimizer": false,
                "sourceMap": true,
                "optimization": false,
                "namedChunks": true
              },
              "configurations": {
                "development": {
                  "fileReplacements": [
                    {
                      "replace": "src/environments/environment.ts",
                      "with": "src/environments/environment.dev.ts"
                    }
                  ],
                  "optimization": true,
                  "outputHashing": "all",
                  "sourceMap": false,
                  "namedChunks": false,
                  "extractLicenses": true,
                  "vendorChunk": false,
                  "buildOptimizer": true,
                  "budgets": [
                    {
                      "type": "initial",
                      "maximumWarning": "2mb",
                      "maximumError": "5mb"
                    },
                    {
                      "type": "anyComponentStyle",
                      "maximumWarning": "6kb",
                      "maximumError": "16kb"
                    }
                  ]
                },
                "production": {
                  "optimization": true,
                  "outputHashing": "all",
                  "sourceMap": false,
                  "namedChunks": false,
                  "extractLicenses": true,
                  "vendorChunk": false,
                  "buildOptimizer": true,
                  "budgets": [
                    {
                      "type": "initial",
                      "maximumWarning": "2mb",
                      "maximumError": "5mb"
                    },
                    {
                      "type": "anyComponentStyle",
                      "maximumWarning": "6kb",
                      "maximumError": "500kb"
                    }
                  ]
                }
              },
              "defaultConfiguration": ""
            },
            "serve": {
              "builder": "@angular-builders/custom-webpack:dev-server",
              "configurations": {
                "dev": {
                  "browserTarget": "netex:build:development"
                },
                "old": {
                  "browserTarget": "netex:build:old"
                },
                "production": {
                  "browserTarget": "netex:build:production"
                }
              }
            },
            "extract-i18n": {
              "builder": "@angular-builders/custom-webpack:extract-i18n",
              "options": {
                "browserTarget": "netex:build"
              }
            },
            "test": {
              "builder": "@angular-builders/custom-webpack:karma",
              "options": {
                "customWebpackConfig": {
                  "path": "./extra-webpack.config.js"
                },
                "main": "src/test.ts",
                "polyfills": "src/polyfills.ts",
                "tsConfig": "tsconfig.spec.json",
                "karmaConfig": "karma.conf.js",
                "assets": [
                  "src/favicon.ico",
                  "src/assets",
                  "src/app-test"
                ],
                "styles": [
                  "src/stylesheets/styles.scss",
                  "src/stylesheets/theme-css"
                ],
                "scripts": []
              }
            },
            "lint": {
              "builder": "@angular-devkit/build-angular:tslint",
              "options": {
                "tsConfig": [
                  "tsconfig.app.json",
                  "tsconfig.spec.json",
                  "e2e/tsconfig.json"
                ],
                "exclude": [
                  "**/node_modules/**"
                ]
              }
            },
            "e2e": {
              "builder": "@angular-devkit/build-angular:protractor",
              "options": {
                "protractorConfig": "e2e/protractor.conf.js",
                "devServerTarget": "netex:serve"
              },
              "configurations": {
                "production": {
                  "devServerTarget": "netex:serve:production"
                }
              }
            }
          }
        }
      },
      "defaultProject": "netex",
      "cli": {
        "analytics": "bb00cc29-2ec5-4bd5-9235-62ac2e9e51b5"
      }
    }