angular.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. "business-operator-frontend": {
  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. "glob": "**/*",
  36. "input": "node_modules/tinymce",
  37. "output": "/tinymce/"
  38. }
  39. ],
  40. "styles": [
  41. "src/styles.scss"
  42. ]
  43. },
  44. "configurations": {
  45. "production": {
  46. "budgets": [
  47. {
  48. "type": "initial",
  49. "maximumWarning": "2.5MB",
  50. "maximumError": "3MB"
  51. },
  52. {
  53. "type": "anyComponentStyle",
  54. "maximumWarning": "12kB",
  55. "maximumError": "16kB"
  56. }
  57. ],
  58. "outputHashing": "all"
  59. },
  60. "development": {
  61. "optimization": false,
  62. "extractLicenses": false,
  63. "sourceMap": true
  64. }
  65. },
  66. "defaultConfiguration": "production"
  67. },
  68. "serve": {
  69. "builder": "@angular/build:dev-server",
  70. "options": {
  71. "proxyConfig": "proxy.conf.js"
  72. },
  73. "configurations": {
  74. "production": {
  75. "buildTarget": "business-operator-frontend:build:production"
  76. },
  77. "development": {
  78. "buildTarget": "business-operator-frontend:build:development"
  79. }
  80. },
  81. "defaultConfiguration": "development"
  82. },
  83. "extract-i18n": {
  84. "builder": "@angular/build:extract-i18n"
  85. },
  86. "test": {
  87. "builder": "@angular/build:karma",
  88. "options": {
  89. "polyfills": [
  90. "zone.js",
  91. "zone.js/testing"
  92. ],
  93. "tsConfig": "tsconfig.spec.json",
  94. "inlineStyleLanguage": "scss",
  95. "assets": [
  96. {
  97. "glob": "**/*",
  98. "input": "public"
  99. }
  100. ],
  101. "styles": [
  102. "src/styles.scss"
  103. ]
  104. }
  105. }
  106. }
  107. }
  108. }
  109. }