angular.json 3.1 KB

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