angular.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. "baseHref": "/dev/apig-pay/",
  71. "deployUrl": "/dev/apig-pay/"
  72. },
  73. "development": {
  74. "optimization": false,
  75. "extractLicenses": false,
  76. "sourceMap": true
  77. }
  78. },
  79. "defaultConfiguration": "production"
  80. },
  81. "serve": {
  82. "builder": "@angular/build:dev-server",
  83. "configurations": {
  84. "production": {
  85. "buildTarget": "apig-pay:build:production"
  86. },
  87. "development": {
  88. "buildTarget": "apig-pay:build:development"
  89. }
  90. },
  91. "defaultConfiguration": "development"
  92. },
  93. "extract-i18n": {
  94. "builder": "@angular/build:extract-i18n"
  95. },
  96. "test": {
  97. "builder": "@angular/build:karma",
  98. "options": {
  99. "tsConfig": "tsconfig.spec.json",
  100. "inlineStyleLanguage": "scss",
  101. "assets": [
  102. {
  103. "glob": "**/*",
  104. "input": "public"
  105. }
  106. ],
  107. "styles": [
  108. "src/styles.scss"
  109. ]
  110. }
  111. }
  112. }
  113. }
  114. },
  115. "cli": {
  116. "analytics": false
  117. }
  118. }