angular.json 3.3 KB

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