angular.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "edu-textbook": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "style": "scss"
  11. }
  12. },
  13. "root": "",
  14. "sourceRoot": "src",
  15. "prefix": "app",
  16. "architect": {
  17. "build": {
  18. "builder": "@angular-devkit/build-angular:application",
  19. "options": {
  20. "outputPath": "dist/edu-textbook",
  21. "index": "src/index.html",
  22. "browser": "src/main.ts",
  23. "polyfills": [
  24. "zone.js"
  25. ],
  26. "tsConfig": "tsconfig.app.json",
  27. "inlineStyleLanguage": "scss",
  28. "assets": [
  29. {
  30. "glob": "**/*",
  31. "input": "public"
  32. },
  33. {
  34. "glob": "**/*",
  35. "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
  36. "output": "/assets/"
  37. }
  38. ],
  39. "styles": [
  40. "src/theme.less",
  41. "src/styles.scss"
  42. ],
  43. "scripts": []
  44. },
  45. "configurations": {
  46. "production": {
  47. "budgets": [
  48. {
  49. "type": "initial",
  50. "maximumWarning": "500kB",
  51. "maximumError": "1MB"
  52. },
  53. {
  54. "type": "anyComponentStyle",
  55. "maximumWarning": "2kB",
  56. "maximumError": "4kB"
  57. }
  58. ],
  59. "outputHashing": "all"
  60. },
  61. "development": {
  62. "optimization": false,
  63. "extractLicenses": false,
  64. "sourceMap": true
  65. }
  66. },
  67. "defaultConfiguration": "production"
  68. },
  69. "serve": {
  70. "builder": "@angular-devkit/build-angular:dev-server",
  71. "configurations": {
  72. "production": {
  73. "buildTarget": "edu-textbook:build:production"
  74. },
  75. "development": {
  76. "buildTarget": "edu-textbook:build:development"
  77. }
  78. },
  79. "defaultConfiguration": "development"
  80. },
  81. "extract-i18n": {
  82. "builder": "@angular-devkit/build-angular:extract-i18n"
  83. },
  84. "test": {
  85. "builder": "@angular-devkit/build-angular:karma",
  86. "options": {
  87. "polyfills": [
  88. "zone.js",
  89. "zone.js/testing"
  90. ],
  91. "tsConfig": "tsconfig.spec.json",
  92. "inlineStyleLanguage": "scss",
  93. "assets": [
  94. {
  95. "glob": "**/*",
  96. "input": "public"
  97. }
  98. ],
  99. "styles": [
  100. "src/styles.scss"
  101. ],
  102. "scripts": []
  103. }
  104. }
  105. }
  106. },
  107. "textbook": {
  108. "projectType": "application",
  109. "schematics": {
  110. "@schematics/angular:component": {
  111. "style": "scss"
  112. }
  113. },
  114. "root": "projects/textbook",
  115. "sourceRoot": "projects/textbook/src",
  116. "prefix": "app",
  117. "architect": {
  118. "build": {
  119. "builder": "@angular-devkit/build-angular:application",
  120. "options": {
  121. "outputPath": "dist/textbook",
  122. "index": "projects/textbook/src/index.html",
  123. "browser": "projects/textbook/src/main.ts",
  124. "polyfills": [
  125. "zone.js"
  126. ],
  127. "tsConfig": "projects/textbook/tsconfig.app.json",
  128. "inlineStyleLanguage": "scss",
  129. "assets": [
  130. {
  131. "glob": "**/*",
  132. "input": "projects/textbook/public"
  133. }
  134. ],
  135. "styles": [
  136. "projects/textbook/src/styles.scss",
  137. "node_modules/ng-zorro-antd/ng-zorro-antd.min.css"
  138. ],
  139. "scripts": []
  140. },
  141. "configurations": {
  142. "production": {
  143. "budgets": [
  144. {
  145. "type": "initial",
  146. "maximumWarning": "500kB",
  147. "maximumError": "1MB"
  148. },
  149. {
  150. "type": "anyComponentStyle",
  151. "maximumWarning": "2kB",
  152. "maximumError": "4kB"
  153. }
  154. ],
  155. "outputHashing": "all"
  156. },
  157. "development": {
  158. "optimization": false,
  159. "extractLicenses": false,
  160. "sourceMap": true
  161. }
  162. },
  163. "defaultConfiguration": "production"
  164. },
  165. "serve": {
  166. "builder": "@angular-devkit/build-angular:dev-server",
  167. "configurations": {
  168. "production": {
  169. "buildTarget": "textbook:build:production"
  170. },
  171. "development": {
  172. "buildTarget": "textbook:build:development"
  173. }
  174. },
  175. "defaultConfiguration": "development"
  176. },
  177. "extract-i18n": {
  178. "builder": "@angular-devkit/build-angular:extract-i18n"
  179. },
  180. "test": {
  181. "builder": "@angular-devkit/build-angular:karma",
  182. "options": {
  183. "polyfills": [
  184. "zone.js",
  185. "zone.js/testing"
  186. ],
  187. "tsConfig": "projects/textbook/tsconfig.spec.json",
  188. "inlineStyleLanguage": "scss",
  189. "assets": [
  190. {
  191. "glob": "**/*",
  192. "input": "projects/textbook/public"
  193. }
  194. ],
  195. "styles": [
  196. "projects/textbook/src/styles.scss"
  197. ],
  198. "scripts": []
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "cli": {
  205. "analytics": "2bc1f0cc-3633-48b2-a456-d6ad82ce77e6"
  206. }
  207. }