From Eratic Lemur, 5 Years ago, written in Plain Text.
Embed
  1. {
  2.   "$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
  3.   "version": 1,
  4.   "defaultProject": "app",
  5.   "newProjectRoot": "projects",
  6.   "projects": {
  7.     "app": {
  8.       "root": "",
  9.       "sourceRoot": "src",
  10.       "projectType": "application",
  11.       "prefix": "app",
  12.       "schematics": {},
  13.       "architect": {
  14.         "build": {
  15.           "builder": "@angular-devkit/build-angular:browser",
  16.           "options": {
  17.             "outputPath": "www",
  18.             "index": "src/index.html",
  19.             "main": "src/main.ts",
  20.             "polyfills": "src/polyfills.ts",
  21.             "tsConfig": "src/tsconfig.app.json",
  22.             "assets": [
  23.               {
  24.                 "glob": "**/*",
  25.                 "input": "src/assets",
  26.                 "output": "assets"
  27.               },
  28.               {
  29.                 "glob": "**/*.svg",
  30.                 "input": "node_modules/ionicons/dist/ionicons/svg",
  31.                 "output": "./svg"
  32.               }
  33.             ],
  34.             "styles": [
  35.               {
  36.                 "input": "src/theme/variables.scss"
  37.               },
  38.               {
  39.                 "input": "src/global.scss"
  40.               },
  41.               {
  42.                 "input": "src/app/app.scss"
  43.               }
  44.             ],
  45.             "scripts": [],
  46.             "es5BrowserSupport": true
  47.           },
  48.           "configurations": {
  49.             "nightly": {
  50.               "fileReplacements": [
  51.                 {
  52.                   "replace": "src/environments/environment.ts",
  53.                   "with": "src/environments/environment.nightly.ts"
  54.                 }
  55.               ],
  56.               "optimization": true,
  57.               "outputHashing": "all",
  58.               "sourceMap": true,
  59.               "extractCss": true,
  60.               "namedChunks": false,
  61.               "aot": true,
  62.               "extractLicenses": true,
  63.               "vendorChunk": false,
  64.               "buildOptimizer": false,
  65.               "budgets": [
  66.                 {
  67.                   "type": "initial",
  68.                   "maximumWarning": "2mb",
  69.                   "maximumError": "5mb"
  70.                 }
  71.               ]
  72.             },
  73.             "cert": {
  74.               "fileReplacements": [
  75.                 {
  76.                   "replace": "src/environments/environment.ts",
  77.                   "with": "src/environments/environment.cert.ts"
  78.                 }
  79.               ],
  80.               "optimization": true,
  81.               "outputHashing": "all",
  82.               "sourceMap": true,
  83.               "extractCss": true,
  84.               "namedChunks": false,
  85.               "aot": true,
  86.               "extractLicenses": true,
  87.               "vendorChunk": false,
  88.               "buildOptimizer": false,
  89.               "budgets": [
  90.                 {
  91.                   "type": "initial",
  92.                   "maximumWarning": "2mb",
  93.                   "maximumError": "5mb"
  94.                 }
  95.               ]
  96.             },
  97.             "perf": {
  98.               "fileReplacements": [
  99.                 {
  100.                   "replace": "src/environments/environment.ts",
  101.                   "with": "src/environments/environment.perf.ts"
  102.                 }
  103.               ],
  104.               "optimization": true,
  105.               "outputHashing": "all",
  106.               "sourceMap": true,
  107.               "extractCss": true,
  108.               "namedChunks": false,
  109.               "aot": true,
  110.               "extractLicenses": true,
  111.               "vendorChunk": false,
  112.               "buildOptimizer": false,
  113.               "budgets": [
  114.                 {
  115.                   "type": "initial",
  116.                   "maximumWarning": "2mb",
  117.                   "maximumError": "5mb"
  118.                 }
  119.               ]
  120.             },
  121.             "ppe": {
  122.               "fileReplacements": [
  123.                 {
  124.                   "replace": "src/environments/environment.ts",
  125.                   "with": "src/environments/environment.ppe.ts"
  126.                 }
  127.               ],
  128.               "optimization": true,
  129.               "outputHashing": "all",
  130.               "sourceMap": false,
  131.               "extractCss": true,
  132.               "namedChunks": false,
  133.               "aot": true,
  134.               "extractLicenses": true,
  135.               "vendorChunk": false,
  136.               "buildOptimizer": true,
  137.               "budgets": [
  138.                 {
  139.                   "type": "initial",
  140.                   "maximumWarning": "2mb",
  141.                   "maximumError": "5mb"
  142.                 }
  143.               ]
  144.             },
  145.             "production": {
  146.               "fileReplacements": [
  147.                 {
  148.                   "replace": "src/environments/environment.ts",
  149.                   "with": "src/environments/environment.prod.ts"
  150.                 }
  151.               ],
  152.               "optimization": true,
  153.               "outputHashing": "all",
  154.               "sourceMap": false,
  155.               "extractCss": true,
  156.               "namedChunks": false,
  157.               "aot": true,
  158.               "extractLicenses": true,
  159.               "vendorChunk": false,
  160.               "buildOptimizer": true,
  161.               "budgets": [
  162.                 {
  163.                   "type": "initial",
  164.                   "maximumWarning": "2mb",
  165.                   "maximumError": "5mb"
  166.                 }
  167.               ]
  168.             },
  169.             "ci": {
  170.               "progress": false
  171.             }
  172.           }
  173.         },
  174.         "serve": {
  175.           "builder": "@angular-devkit/build-angular:dev-server",
  176.           "options": {
  177.             "browserTarget": "app:build"
  178.           },
  179.           "configurations": {
  180.             "production": {
  181.               "browserTarget": "app:build:production"
  182.             },
  183.             "ci": {
  184.               "progress": false
  185.             }
  186.           }
  187.         },
  188.         "extract-i18n": {
  189.           "builder": "@angular-devkit/build-angular:extract-i18n",
  190.           "options": {
  191.             "browserTarget": "app:build"
  192.           }
  193.         },
  194.         "test": {
  195.           "builder": "@angular-devkit/build-angular:karma",
  196.           "options": {
  197.             "main": "src/test.ts",
  198.             "polyfills": "src/polyfills.ts",
  199.             "tsConfig": "src/tsconfig.spec.json",
  200.             "karmaConfig": "src/karma.conf.js",
  201.             "styles": [],
  202.             "scripts": [],
  203.             "assets": [
  204.               {
  205.                 "glob": "favicon.ico",
  206.                 "input": "src/",
  207.                 "output": "/"
  208.               },
  209.               {
  210.                 "glob": "**/*",
  211.                 "input": "src/assets",
  212.                 "output": "/assets"
  213.               }
  214.             ]
  215.           },
  216.           "configurations": {
  217.             "ci": {
  218.               "progress": false,
  219.               "watch": false
  220.             }
  221.           }
  222.         },
  223.         "lint": {
  224.           "builder": "@angular-devkit/build-angular:tslint",
  225.           "options": {
  226.             "tsConfig": [
  227.               "src/tsconfig.app.json",
  228.               "src/tsconfig.spec.json"
  229.             ],
  230.             "exclude": [
  231.               "**/node_modules/**"
  232.             ]
  233.           }
  234.         },
  235.         "ionic-cordova-build": {
  236.           "builder": "@ionic/angular-toolkit:cordova-build",
  237.           "options": {
  238.             "browserTarget": "app:build"
  239.           },
  240.           "configurations": {
  241.             "production": {
  242.               "browserTarget": "app:build:production"
  243.             }
  244.           }
  245.         },
  246.         "ionic-cordova-serve": {
  247.           "builder": "@ionic/angular-toolkit:cordova-serve",
  248.           "options": {
  249.             "cordovaBuildTarget": "app:ionic-cordova-build",
  250.             "devServerTarget": "app:serve"
  251.           },
  252.           "configurations": {
  253.             "production": {
  254.               "cordovaBuildTarget": "app:ionic-cordova-build:production",
  255.               "devServerTarget": "app:serve:production"
  256.             }
  257.           }
  258.         }
  259.       }
  260.     }
  261.   },
  262.   "cli": {
  263.     "defaultCollection": "@ionic/angular-toolkit"
  264.   },
  265.   "schematics": {
  266.     "@ionic/angular-toolkit:component": {
  267.       "styleext": "scss"
  268.     },
  269.     "@ionic/angular-toolkit:page": {
  270.       "styleext": "scss"
  271.     }
  272.   }
  273. }