angular.json 3.03 KB
Newer Older
PhuTran20's avatar
PhuTran20 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "Meu-template-CSR": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:component": {
          "style": "scss"
        }
      },
      "root": "",
      "sourceRoot": "src",
      "prefix": "app",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:application",
          "options": {
            "outputPath": "dist/meu-template-csr",
            "index": "src/index.html",
            "browser": "src/main.ts",
Trần Anh Phú's avatar
Trần Anh Phú committed
23
            "polyfills": ["zone.js"],
PhuTran20's avatar
PhuTran20 committed
24 25 26
            "tsConfig": "tsconfig.app.json",
            "inlineStyleLanguage": "scss",
            "assets": [
Trần Anh Phú's avatar
Trần Anh Phú committed
27
              "src/assets",
PhuTran20's avatar
PhuTran20 committed
28 29
              {
                "glob": "**/*",
Trần Anh Phú's avatar
Trần Anh Phú committed
30 31 32 33 34 35 36 37
                "input": "src/assets/",
                "ignore": ["**/*.scss"],
                "output": "/assets/"
              },
              {
                "glob": "**/*",
                "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
                "output": "/assets/"
PhuTran20's avatar
PhuTran20 committed
38 39
              }
            ],
Trần Anh Phú's avatar
Trần Anh Phú committed
40
            "styles": ["src/styles.scss"],
PhuTran20's avatar
PhuTran20 committed
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
            "scripts": []
          },
          "configurations": {
            "production": {
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "500kB",
                  "maximumError": "1MB"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "2kB",
                  "maximumError": "4kB"
                }
              ],
              "outputHashing": "all"
            },
            "development": {
              "optimization": false,
              "extractLicenses": false,
              "sourceMap": true
            }
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "configurations": {
            "production": {
              "buildTarget": "Meu-template-CSR:build:production"
            },
            "development": {
              "buildTarget": "Meu-template-CSR:build:development"
            }
          },
          "defaultConfiguration": "development"
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n"
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
Trần Anh Phú's avatar
Trần Anh Phú committed
85
            "polyfills": ["zone.js", "zone.js/testing"],
PhuTran20's avatar
PhuTran20 committed
86 87 88 89 90 91 92 93
            "tsConfig": "tsconfig.spec.json",
            "inlineStyleLanguage": "scss",
            "assets": [
              {
                "glob": "**/*",
                "input": "public"
              }
            ],
vtduong0912's avatar
vtduong0912 committed
94
            "styles": ["src/styles.scss", "node_modules/ng-zorro-antd/ng-zorro-antd.min.css"],
PhuTran20's avatar
PhuTran20 committed
95 96 97 98 99
            "scripts": []
          }
        }
      }
    }
Trần Anh Phú's avatar
Trần Anh Phú committed
100 101 102
  },
  "cli": {
    "analytics": "eb0735f0-7ed8-4a66-96fb-3723bd4a5d66"
PhuTran20's avatar
PhuTran20 committed
103 104
  }
}