angular.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. "node_modules/prismjs/themes/prism-okaidia.css",
  41. "src/styles.scss"
  42. ]
  43. },
  44. "configurations": {
  45. "production": {
  46. "budgets": [
  47. {
  48. "type": "initial",
  49. "maximumWarning": "500kB",
  50. "maximumError": "1MB"
  51. },
  52. {
  53. "type": "anyComponentStyle",
  54. "maximumWarning": "8kB",
  55. "maximumError": "16kB"
  56. }
  57. ],
  58. "outputHashing": "all",
  59. "fileReplacements": [
  60. {
  61. "replace": "src/environments/environment.ts",
  62. "with": "src/environments/environment.production.ts"
  63. }
  64. ]
  65. },
  66. "development": {
  67. "optimization": false,
  68. "extractLicenses": false,
  69. "sourceMap": true
  70. }
  71. },
  72. "defaultConfiguration": "production"
  73. },
  74. "serve": {
  75. "builder": "@angular/build:dev-server",
  76. "configurations": {
  77. "production": {
  78. "buildTarget": "fmode-app-v2:build:production"
  79. },
  80. "development": {
  81. "buildTarget": "fmode-app-v2:build:development"
  82. }
  83. },
  84. "defaultConfiguration": "development"
  85. },
  86. "extract-i18n": {
  87. "builder": "@angular/build:extract-i18n"
  88. },
  89. "test": {
  90. "builder": "@angular/build:karma",
  91. "options": {
  92. "polyfills": [
  93. "zone.js",
  94. "zone.js/testing"
  95. ],
  96. "tsConfig": "tsconfig.spec.json",
  97. "inlineStyleLanguage": "scss",
  98. "assets": [
  99. {
  100. "glob": "**/*",
  101. "input": "public"
  102. }
  103. ],
  104. "styles": [
  105. "src/styles.uikit.css",
  106. "node_modules/@fortawesome/fontawesome-free/css/all.min.css",
  107. "src/styles.uikit.scss",
  108. "src/styles.scss"
  109. ]
  110. }
  111. }
  112. }
  113. }
  114. }
  115. }