angular.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "yss-project": {
  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/build:application",
  19. "options": {
  20. "browser": "src/main.ts",
  21. "polyfills": [
  22. "zone.js"
  23. ],
  24. "tsConfig": "tsconfig.app.json",
  25. "inlineStyleLanguage": "scss",
  26. "assets": [
  27. {
  28. "glob": "**/*",
  29. "input": "public"
  30. },
  31. {
  32. "glob": "**/*.svg",
  33. "input": "node_modules/ionicons/dist/ionicons/svg",
  34. "output": "./svg"
  35. }
  36. ],
  37. "styles": [
  38. "src/styles.scss",
  39. {
  40. "input": "node_modules/@ionic/angular/css/core.css"
  41. },
  42. {
  43. "input": "node_modules/@ionic/angular/css/normalize.css"
  44. },
  45. {
  46. "input": "node_modules/@ionic/angular/css/structure.css"
  47. },
  48. {
  49. "input": "node_modules/@ionic/angular/css/typography.css"
  50. },
  51. {
  52. "input": "node_modules/@ionic/angular/css/display.css"
  53. },
  54. {
  55. "input": "node_modules/@ionic/angular/css/padding.css"
  56. },
  57. {
  58. "input": "node_modules/@ionic/angular/css/float-elements.css"
  59. },
  60. {
  61. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  62. },
  63. {
  64. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  65. },
  66. {
  67. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  68. }
  69. ],
  70. "allowedCommonJsDependencies": [
  71. "microsoft-cognitiveservices-speech-sdk",
  72. "mathjax-full",
  73. "recorder-core",
  74. "dhtmlxscheduler",
  75. "codemirror",
  76. "mxgraph",
  77. "plupload",
  78. "qrious",
  79. "wangeditor",
  80. "echarts",
  81. "querystring",
  82. "spark-md5",
  83. "jquery",
  84. "markdown-it-abbr",
  85. "markdown-it-deflist",
  86. "markdown-it-ins",
  87. "markdown-it-mark",
  88. "markdown-it-ruby",
  89. "markdown-it-sub",
  90. "markdown-it-footnote",
  91. "markdown-it-sup",
  92. "plantuml-encoder",
  93. "@amap/amap-jsapi-loader",
  94. "jsqr",
  95. "dhtmlx-gantt",
  96. "@ctrl/ngx-codemirror",
  97. "node_modules/wangeditor/release/wangEditor.js"
  98. ]
  99. },
  100. "configurations": {
  101. "production": {
  102. "budgets": [
  103. {
  104. "type": "initial",
  105. "maximumWarning": "10MB",
  106. "maximumError": "20MB"
  107. },
  108. {
  109. "type": "anyComponentStyle",
  110. "maximumWarning": "10MB",
  111. "maximumError": "20MB"
  112. }
  113. ],
  114. "outputHashing": "all",
  115. "namedChunks": true,
  116. "optimization": {
  117. "fonts": {
  118. "inline": false
  119. }
  120. }
  121. },
  122. "development": {
  123. "optimization": false,
  124. "extractLicenses": false,
  125. "sourceMap": true
  126. }
  127. },
  128. "defaultConfiguration": "production"
  129. },
  130. "serve": {
  131. "builder": "@angular/build:dev-server",
  132. "configurations": {
  133. "production": {
  134. "buildTarget": "yss-project:build:production"
  135. },
  136. "development": {
  137. "buildTarget": "yss-project:build:development"
  138. }
  139. },
  140. "defaultConfiguration": "development"
  141. },
  142. "extract-i18n": {
  143. "builder": "@angular/build:extract-i18n"
  144. },
  145. "test": {
  146. "builder": "@angular/build:karma",
  147. "options": {
  148. "polyfills": [
  149. "zone.js",
  150. "zone.js/testing"
  151. ],
  152. "tsConfig": "tsconfig.spec.json",
  153. "inlineStyleLanguage": "scss",
  154. "assets": [
  155. {
  156. "glob": "**/*",
  157. "input": "public"
  158. }
  159. ],
  160. "styles": [
  161. "src/styles.scss"
  162. ]
  163. }
  164. },
  165. "lint": {
  166. "builder": "@angular-eslint/builder:lint",
  167. "options": {
  168. "lintFilePatterns": [
  169. "src/**/*.ts",
  170. "src/**/*.html"
  171. ]
  172. }
  173. }
  174. }
  175. }
  176. },
  177. "cli": {
  178. "schematicCollections": [
  179. "angular-eslint"
  180. ]
  181. }
  182. }