angular.json 5.6 KB

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