angular.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "cli": {
  5. "packageManager": "npm"
  6. },
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "fmode-app-v2": {
  10. "projectType": "application",
  11. "schematics": {
  12. "@schematics/angular:component": {
  13. "style": "scss"
  14. }
  15. },
  16. "root": "",
  17. "sourceRoot": "src",
  18. "prefix": "app",
  19. "architect": {
  20. "build": {
  21. "builder": "@angular/build:application",
  22. "options": {
  23. "browser": "src/main.ts",
  24. "polyfills": [
  25. "zone.js"
  26. ],
  27. "tsConfig": "tsconfig.app.json",
  28. "inlineStyleLanguage": "scss",
  29. "assets": [
  30. {
  31. "glob": "**/*",
  32. "input": "public"
  33. }
  34. ],
  35. "styles": [
  36. "src/styles.uikit.css",
  37. "node_modules/@fortawesome/fontawesome-free/css/all.min.css",
  38. "src/styles.uikit.scss",
  39. "src/styles.scss"
  40. ],
  41. "fileReplacements": [
  42. {
  43. "replace": "src/environments/environment.ts",
  44. "with": "src/environments/environment.production.ts"
  45. }
  46. ]
  47. },
  48. "configurations": {
  49. "production": {
  50. "budgets": [
  51. {
  52. "type": "initial",
  53. "maximumWarning": "500kB",
  54. "maximumError": "1MB"
  55. },
  56. {
  57. "type": "anyComponentStyle",
  58. "maximumWarning": "4kB",
  59. "maximumError": "8kB"
  60. }
  61. ],
  62. "outputHashing": "all"
  63. },
  64. "development": {
  65. "optimization": false,
  66. "extractLicenses": false,
  67. "sourceMap": true
  68. }
  69. },
  70. "defaultConfiguration": "production"
  71. },
  72. "serve": {
  73. "builder": "@angular/build:dev-server",
  74. "configurations": {
  75. "production": {
  76. "buildTarget": "fmode-app-v2:build:production"
  77. },
  78. "development": {
  79. "buildTarget": "fmode-app-v2:build:development"
  80. }
  81. },
  82. "defaultConfiguration": "development"
  83. },
  84. "extract-i18n": {
  85. "builder": "@angular/build:extract-i18n"
  86. },
  87. "test": {
  88. "builder": "@angular/build:karma",
  89. "options": {
  90. "polyfills": [
  91. "zone.js",
  92. "zone.js/testing"
  93. ],
  94. "tsConfig": "tsconfig.spec.json",
  95. "inlineStyleLanguage": "scss",
  96. "assets": [
  97. {
  98. "glob": "**/*",
  99. "input": "public"
  100. }
  101. ],
  102. "styles": [
  103. "src/styles.uikit.css",
  104. "node_modules/@fortawesome/fontawesome-free/css/all.min.css",
  105. "src/styles.uikit.scss",
  106. "src/styles.scss"
  107. ]
  108. }
  109. }
  110. }
  111. }
  112. }
  113. }