angular.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. "projects/textbook/src/styles.scss",
  41. "node_modules/ng-zorro-antd/ng-zorro-antd.min.css",
  42. {
  43. "input": "node_modules/@ionic/angular/css/core.css"
  44. },
  45. {
  46. "input": "node_modules/@ionic/angular/css/normalize.css"
  47. },
  48. {
  49. "input": "node_modules/@ionic/angular/css/structure.css"
  50. },
  51. {
  52. "input": "node_modules/@ionic/angular/css/typography.css"
  53. },
  54. {
  55. "input": "node_modules/@ionic/angular/css/display.css"
  56. },
  57. {
  58. "input": "node_modules/@ionic/angular/css/padding.css"
  59. },
  60. {
  61. "input": "node_modules/@ionic/angular/css/float-elements.css"
  62. },
  63. {
  64. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  65. },
  66. {
  67. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  68. },
  69. {
  70. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  71. }
  72. ],
  73. "scripts": []
  74. },
  75. "configurations": {
  76. "production": {
  77. "budgets": [
  78. {
  79. "type": "initial",
  80. "maximumWarning": "500kB",
  81. "maximumError": "1MB"
  82. },
  83. {
  84. "type": "anyComponentStyle",
  85. "maximumWarning": "2kB",
  86. "maximumError": "4kB"
  87. }
  88. ],
  89. "outputHashing": "all"
  90. },
  91. "development": {
  92. "optimization": false,
  93. "extractLicenses": false,
  94. "sourceMap": true
  95. }
  96. },
  97. "defaultConfiguration": "production"
  98. },
  99. "serve": {
  100. "builder": "@angular-devkit/build-angular:dev-server",
  101. "configurations": {
  102. "production": {
  103. "buildTarget": "textbook:build:production"
  104. },
  105. "development": {
  106. "buildTarget": "textbook:build:development"
  107. }
  108. },
  109. "defaultConfiguration": "development"
  110. },
  111. "extract-i18n": {
  112. "builder": "@angular-devkit/build-angular:extract-i18n"
  113. },
  114. "test": {
  115. "builder": "@angular-devkit/build-angular:karma",
  116. "options": {
  117. "polyfills": [
  118. "zone.js",
  119. "zone.js/testing"
  120. ],
  121. "tsConfig": "projects/textbook/tsconfig.spec.json",
  122. "inlineStyleLanguage": "scss",
  123. "assets": [
  124. {
  125. "glob": "**/*",
  126. "input": "projects/textbook/public"
  127. }
  128. ],
  129. "styles": [
  130. "projects/textbook/src/styles.scss"
  131. ],
  132. "scripts": []
  133. }
  134. }
  135. }
  136. }
  137. },
  138. "cli": {
  139. "analytics": "2bc1f0cc-3633-48b2-a456-d6ad82ce77e6",
  140. "schematicCollections": [
  141. "@ionic/angular-toolkit"
  142. ]
  143. },
  144. "schematics": {
  145. "@ionic/angular-toolkit:component": {
  146. "styleext": "scss"
  147. },
  148. "@ionic/angular-toolkit:page": {
  149. "styleext": "scss"
  150. }
  151. }
  152. }