angular.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "apig-pay": {
  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/build:application",
  41. "options": {
  42. "browser": "src/main.ts",
  43. "tsConfig": "tsconfig.app.json",
  44. "inlineStyleLanguage": "scss",
  45. "assets": [
  46. {
  47. "glob": "**/*",
  48. "input": "public"
  49. }
  50. ],
  51. "styles": [
  52. "src/styles.scss"
  53. ]
  54. },
  55. "configurations": {
  56. "production": {
  57. "budgets": [
  58. {
  59. "type": "initial",
  60. "maximumWarning": "500kB",
  61. "maximumError": "1MB"
  62. },
  63. {
  64. "type": "anyComponentStyle",
  65. "maximumWarning": "16kB",
  66. "maximumError": "32kB"
  67. }
  68. ],
  69. "outputHashing": "all"
  70. },
  71. "development": {
  72. "optimization": false,
  73. "extractLicenses": false,
  74. "sourceMap": true
  75. }
  76. },
  77. "defaultConfiguration": "production"
  78. },
  79. "serve": {
  80. "builder": "@angular/build:dev-server",
  81. "configurations": {
  82. "production": {
  83. "buildTarget": "apig-pay:build:production"
  84. },
  85. "development": {
  86. "buildTarget": "apig-pay:build:development"
  87. }
  88. },
  89. "defaultConfiguration": "development"
  90. },
  91. "extract-i18n": {
  92. "builder": "@angular/build:extract-i18n"
  93. },
  94. "test": {
  95. "builder": "@angular/build:karma",
  96. "options": {
  97. "tsConfig": "tsconfig.spec.json",
  98. "inlineStyleLanguage": "scss",
  99. "assets": [
  100. {
  101. "glob": "**/*",
  102. "input": "public"
  103. }
  104. ],
  105. "styles": [
  106. "src/styles.scss"
  107. ]
  108. }
  109. }
  110. }
  111. }
  112. }
  113. }