数据可视化大屏
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

168 строки
4.5KB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "himp.platform.angular": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "skipTests": false,
  11. "flat": false,
  12. "inlineStyle": true,
  13. "inlineTemplate": false,
  14. "style": "less"
  15. },
  16. "ng-alain:module": {
  17. "routing": true
  18. },
  19. "ng-alain:list": {
  20. "skipTests": false
  21. },
  22. "ng-alain:edit": {
  23. "skipTests": false,
  24. "modal": true
  25. },
  26. "ng-alain:view": {
  27. "skipTests": false,
  28. "modal": true
  29. },
  30. "ng-alain:curd": {
  31. "skipTests": false
  32. },
  33. "@schematics/angular:module": {
  34. "routing": true
  35. },
  36. "@schematics/angular:directive": {
  37. "skipTests": false
  38. },
  39. "@schematics/angular:service": {
  40. "skipTests": false
  41. }
  42. },
  43. "root": "",
  44. "sourceRoot": "src",
  45. "prefix": "app",
  46. "architect": {
  47. "build": {
  48. "builder": "@angular-devkit/build-angular:application",
  49. "options": {
  50. "outputPath": "dist/himp.platform.angular",
  51. "index": "src/index.html",
  52. "browser": "src/main.ts",
  53. "polyfills": [
  54. "zone.js"
  55. ],
  56. "tsConfig": "tsconfig.app.json",
  57. "inlineStyleLanguage": "less",
  58. "assets": [
  59. "src/favicon.ico",
  60. "src/assets"
  61. ],
  62. "styles": [
  63. "src/styles.less"
  64. ],
  65. "scripts": [ "node_modules/echarts/dist/echarts.js"],
  66. "allowedCommonJsDependencies": [
  67. "ajv",
  68. "ajv-formats",
  69. "extend",
  70. "file-saver",
  71. "mockjs"
  72. ],
  73. "stylePreprocessorOptions": {
  74. "includePaths": [
  75. "node_modules/"
  76. ]
  77. }
  78. },
  79. "configurations": {
  80. "production": {
  81. "budgets": [
  82. {
  83. "type": "initial",
  84. "maximumWarning": "2mb",
  85. "maximumError": "6mb"
  86. },
  87. {
  88. "type": "anyComponentStyle",
  89. "maximumWarning": "2kb",
  90. "maximumError": "8kb"
  91. }
  92. ],
  93. "outputHashing": "all",
  94. "fileReplacements": [
  95. {
  96. "replace": "src/environments/environment.ts",
  97. "with": "src/environments/environment.prod.ts"
  98. }
  99. ]
  100. },
  101. "development": {
  102. "optimization": false,
  103. "extractLicenses": false,
  104. "sourceMap": true
  105. }
  106. },
  107. "defaultConfiguration": "production"
  108. },
  109. "serve": {
  110. "builder": "@angular-devkit/build-angular:dev-server",
  111. "configurations": {
  112. "production": {
  113. "buildTarget": "himp.platform.angular:build:production"
  114. },
  115. "development": {
  116. "buildTarget": "himp.platform.angular:build:development"
  117. }
  118. },
  119. "defaultConfiguration": "development",
  120. "options": {
  121. "proxyConfig": "proxy.conf.js"
  122. }
  123. },
  124. "extract-i18n": {
  125. "builder": "@angular-devkit/build-angular:extract-i18n",
  126. "options": {
  127. "buildTarget": "himp.platform.angular:build"
  128. }
  129. },
  130. "test": {
  131. "builder": "@angular-devkit/build-angular:karma",
  132. "options": {
  133. "polyfills": [
  134. "zone.js",
  135. "zone.js/testing"
  136. ],
  137. "tsConfig": "tsconfig.spec.json",
  138. "inlineStyleLanguage": "less",
  139. "assets": [
  140. "src/favicon.ico",
  141. "src/assets"
  142. ],
  143. "styles": [
  144. "src/styles.less"
  145. ],
  146. "scripts": []
  147. }
  148. },
  149. "lint": {
  150. "builder": "@angular-eslint/builder:lint",
  151. "options": {
  152. "lintFilePatterns": [
  153. "src/**/*.ts",
  154. "src/**/*.html"
  155. ]
  156. }
  157. }
  158. }
  159. }
  160. },
  161. "cli": {
  162. "analytics": false,
  163. "schematicCollections": [
  164. "@schematics/angular",
  165. "ng-alain"
  166. ]
  167. }
  168. }