angular.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "textbook": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "style": "scss"
  11. }
  12. },
  13. "root": "projects/textbook",
  14. "sourceRoot": "projects/textbook/src",
  15. "prefix": "app",
  16. "architect": {
  17. "build": {
  18. "builder": "@angular-devkit/build-angular:application",
  19. "options": {
  20. "outputPath": "dist/textbook",
  21. "index": "projects/textbook/src/index.html",
  22. "browser": "projects/textbook/src/main.ts",
  23. "polyfills": [
  24. "zone.js"
  25. ],
  26. "tsConfig": "projects/textbook/tsconfig.app.json",
  27. "inlineStyleLanguage": "scss",
  28. "assets": [
  29. {
  30. "glob": "**/*",
  31. "input": "projects/textbook/public"
  32. },
  33. {
  34. "glob": "**/*",
  35. "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
  36. "output": "/assets/"
  37. }
  38. ],
  39. "styles": [
  40. "@angular/material/prebuilt-themes/azure-blue.css",
  41. "projects/textbook/src/styles.scss",
  42. "node_modules/ng-zorro-antd/ng-zorro-antd.min.css",
  43. {
  44. "input": "node_modules/@ionic/angular/css/core.css"
  45. },
  46. {
  47. "input": "node_modules/@ionic/angular/css/normalize.css"
  48. },
  49. {
  50. "input": "node_modules/@ionic/angular/css/structure.css"
  51. },
  52. {
  53. "input": "node_modules/@ionic/angular/css/typography.css"
  54. },
  55. {
  56. "input": "node_modules/@ionic/angular/css/display.css"
  57. },
  58. {
  59. "input": "node_modules/@ionic/angular/css/padding.css"
  60. },
  61. {
  62. "input": "node_modules/@ionic/angular/css/float-elements.css"
  63. },
  64. {
  65. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  66. },
  67. {
  68. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  69. },
  70. {
  71. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  72. }
  73. ],
  74. "scripts": []
  75. },
  76. "configurations": {
  77. "production": {
  78. "budgets": [
  79. {
  80. "type": "initial",
  81. "maximumWarning": "5MB",
  82. "maximumError": "10MB"
  83. },
  84. {
  85. "type": "anyComponentStyle",
  86. "maximumWarning": "2MB",
  87. "maximumError": "4MB"
  88. }
  89. ],
  90. "outputHashing": "all"
  91. },
  92. "development": {
  93. "optimization": false,
  94. "extractLicenses": false,
  95. "sourceMap": true
  96. }
  97. },
  98. "defaultConfiguration": "production"
  99. },
  100. "serve": {
  101. "builder": "@angular-devkit/build-angular:dev-server",
  102. "configurations": {
  103. "production": {
  104. "buildTarget": "textbook:build:production"
  105. },
  106. "development": {
  107. "buildTarget": "textbook:build:development"
  108. }
  109. },
  110. "defaultConfiguration": "development"
  111. },
  112. "extract-i18n": {
  113. "builder": "@angular-devkit/build-angular:extract-i18n"
  114. },
  115. "test": {
  116. "builder": "@angular-devkit/build-angular:karma",
  117. "options": {
  118. "polyfills": [
  119. "zone.js",
  120. "zone.js/testing"
  121. ],
  122. "tsConfig": "projects/textbook/tsconfig.spec.json",
  123. "inlineStyleLanguage": "scss",
  124. "assets": [
  125. {
  126. "glob": "**/*",
  127. "input": "projects/textbook/public"
  128. }
  129. ],
  130. "styles": [
  131. "@angular/material/prebuilt-themes/azure-blue.css",
  132. "projects/textbook/src/styles.scss"
  133. ],
  134. "scripts": []
  135. }
  136. }
  137. }
  138. }
  139. },
  140. "cli": {
  141. "analytics": "2bc1f0cc-3633-48b2-a456-d6ad82ce77e6",
  142. "schematicCollections": [
  143. "@ionic/angular-toolkit"
  144. ]
  145. },
  146. "schematics": {
  147. "@ionic/angular-toolkit:component": {
  148. "styleext": "scss"
  149. },
  150. "@ionic/angular-toolkit:page": {
  151. "styleext": "scss"
  152. }
  153. }
  154. }