Guest User

Untitled

a guest
Jan 11th, 2022
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.74 KB | None | 0 0
  1. {
  2.   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3.   "version": 1,
  4.   "newProjectRoot": "projects",
  5.   "projects": {
  6.     "ourProject": {
  7.       "projectType": "application",
  8.       "schematics": {},
  9.       "root": "",
  10.       "sourceRoot": "src",
  11.       "prefix": "app",
  12.       "architect": {
  13.         "build": {
  14.           "builder": "@angular-builders/custom-webpack:browser",
  15.           "options": {
  16.             "customWebpackConfig": {
  17.               "path": "./webpack.config.js"
  18.             },
  19.             "outputPath": "dist/ourProject",
  20.             "index": "src/index.html",
  21.             "main": "src/main.ts",
  22.             "polyfills": "src/polyfills.ts",
  23.             "tsConfig": "tsconfig.app.json",
  24.             "aot": true,
  25.             "assets": ["src/assets"],
  26.             "styles": [
  27.               "src/styles/global.css",
  28.               "node_modules/@ng-select/ng-select/themes/default.theme.css",
  29.               "node_modules/@angular/cdk/overlay-prebuilt.css",
  30.               "src/styles/tagify.scss",
  31.               "src/assets/css/toastr.css"
  32.             ],
  33.             "scripts": [
  34.               "node_modules/chart.js/dist/Chart.js"
  35.             ]
  36.           },
  37.           "configurations": {
  38.             "production": {
  39.               "fileReplacements": [
  40.                 {
  41.                   "replace": "src/environments/environment.ts",
  42.                   "with": "src/environments/environment.prod.ts"
  43.                 }
  44.               ],
  45.               "optimization": true,
  46.               "outputHashing": "all",
  47.               "sourceMap": false,
  48.               "extractCss": true,
  49.               "namedChunks": false,
  50.               "extractLicenses": true,
  51.               "vendorChunk": false,
  52.               "buildOptimizer": true,
  53.               "budgets": [
  54.                 {
  55.                   "type": "initial",
  56.                   "maximumWarning": "2mb",
  57.                   "maximumError": "5mb"
  58.                 },
  59.                 {
  60.                   "type": "anyComponentStyle",
  61.                   "maximumWarning": "6kb",
  62.                   "maximumError": "10kb"
  63.                 }
  64.               ]
  65.             }
  66.           }
  67.         },
  68.         "serve": {
  69.           "builder": "@angular-builders/custom-webpack:dev-server",
  70.           "options": {
  71.             "browserTarget": "ourProject:build"
  72.           },
  73.           "configurations": {
  74.             "production": {
  75.               "browserTarget": "ourProject:build:production"
  76.             }
  77.           }
  78.         },
  79.         "extract-i18n": {
  80.           "builder": "@angular-devkit/build-angular:extract-i18n",
  81.           "options": {
  82.             "browserTarget": "ourProject:build"
  83.           }
  84.         },
  85.         "test": {
  86.           "builder": "@angular-devkit/build-angular:karma",
  87.           "options": {
  88.             "main": "src/test.ts",
  89.             "polyfills": "src/polyfills.ts",
  90.             "tsConfig": "tsconfig.spec.json",
  91.             "karmaConfig": "karma.conf.js",
  92.             "assets": ["src/assets"],
  93.             "styles": [
  94.               "src/styles/global.css",
  95.               "node_modules/@ng-select/ng-select/themes/default.theme.css"
  96.             ],
  97.             "scripts": [],
  98.             "codeCoverageExclude": [
  99.               "/**/openapi/**", "/**/mock/**"
  100.             ]
  101.           }
  102.         },
  103.         "e2e": {
  104.           "builder": "@angular-devkit/build-angular:protractor",
  105.           "options": {
  106.             "protractorConfig": "e2e/protractor.conf.js",
  107.             "devServerTarget": "ourProject:serve"
  108.           },
  109.           "configurations": {
  110.             "production": {
  111.               "devServerTarget": "ourProject:serve:production"
  112.             }
  113.           }
  114.         }
  115.       }
  116.     }
  117.   },
  118.   "defaultProject": "ourProject"
  119. }
  120.  
Advertisement
Add Comment
Please, Sign In to add comment