angular.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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/@fortawesome/fontawesome-free/css/all.min.css"
  41. },
  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. "allowedCommonJsDependencies": [
  74. "microsoft-cognitiveservices-speech-sdk",
  75. "mathjax-full",
  76. "recorder-core",
  77. "dhtmlxscheduler",
  78. "codemirror",
  79. "mxgraph",
  80. "plupload",
  81. "qrious",
  82. "wangeditor",
  83. "echarts",
  84. "querystring",
  85. "spark-md5",
  86. "jquery",
  87. "markdown-it-abbr",
  88. "markdown-it-deflist",
  89. "markdown-it-ins",
  90. "markdown-it-mark",
  91. "markdown-it-ruby",
  92. "markdown-it-sub",
  93. "markdown-it-footnote",
  94. "markdown-it-sup",
  95. "plantuml-encoder",
  96. "@amap/amap-jsapi-loader",
  97. "jsqr",
  98. "dhtmlx-gantt",
  99. "@ctrl/ngx-codemirror",
  100. "node_modules/wangeditor/release/wangEditor.js"
  101. ]
  102. },
  103. "configurations": {
  104. "production": {
  105. "budgets": [
  106. {
  107. "type": "initial",
  108. "maximumWarning": "10MB",
  109. "maximumError": "20MB"
  110. },
  111. {
  112. "type": "anyComponentStyle",
  113. "maximumWarning": "10MB",
  114. "maximumError": "20MB"
  115. }
  116. ],
  117. "outputHashing": "all",
  118. "namedChunks": true,
  119. "optimization": {
  120. "fonts": {
  121. "inline": false
  122. }
  123. }
  124. },
  125. "development": {
  126. "optimization": false,
  127. "extractLicenses": false,
  128. "sourceMap": true
  129. }
  130. },
  131. "defaultConfiguration": "production"
  132. },
  133. "serve": {
  134. "builder": "@angular/build:dev-server",
  135. "configurations": {
  136. "production": {
  137. "buildTarget": "yss-project:build:production"
  138. },
  139. "development": {
  140. "buildTarget": "yss-project:build:development"
  141. }
  142. },
  143. "defaultConfiguration": "development"
  144. },
  145. "extract-i18n": {
  146. "builder": "@angular/build:extract-i18n"
  147. },
  148. "test": {
  149. "builder": "@angular/build:karma",
  150. "options": {
  151. "polyfills": [
  152. "zone.js",
  153. "zone.js/testing"
  154. ],
  155. "tsConfig": "tsconfig.spec.json",
  156. "inlineStyleLanguage": "scss",
  157. "assets": [
  158. {
  159. "glob": "**/*",
  160. "input": "public"
  161. }
  162. ],
  163. "styles": [
  164. "src/styles.scss"
  165. ]
  166. }
  167. },
  168. "lint": {
  169. "builder": "@angular-eslint/builder:lint",
  170. "options": {
  171. "lintFilePatterns": [
  172. "src/**/*.ts",
  173. "src/**/*.html"
  174. ]
  175. }
  176. }
  177. }
  178. }
  179. },
  180. "cli": {
  181. "schematicCollections": [
  182. "angular-eslint"
  183. ]
  184. }
  185. }