您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

137 行
4.0 KiB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "imaq": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "style": "scss",
  11. "standalone": false
  12. },
  13. "@schematics/angular:directive": {
  14. "standalone": false
  15. },
  16. "@schematics/angular:pipe": {
  17. "standalone": false
  18. }
  19. },
  20. "root": "",
  21. "sourceRoot": "src",
  22. "prefix": "app",
  23. "architect": {
  24. "build": {
  25. "builder": "@angular-devkit/build-angular:application",
  26. "options": {
  27. "outputPath": "../httpdocs/public/client",
  28. "baseHref": "/",
  29. "index": "src/index.html",
  30. "browser": "src/main.ts",
  31. "polyfills": [
  32. "zone.js"
  33. ],
  34. "tsConfig": "tsconfig.app.json",
  35. "inlineStyleLanguage": "scss",
  36. "assets": [
  37. "src/favicon.ico",
  38. "src/assets"
  39. ],
  40. "styles": [
  41. "@angular/material/prebuilt-themes/indigo-pink.css",
  42. "node_modules/bootstrap/scss/bootstrap.scss",
  43. "node_modules/bootstrap-icons/font/bootstrap-icons.css",
  44. "src/styles.scss"
  45. ],
  46. "scripts": [
  47. "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
  48. ]
  49. },
  50. "configurations": {
  51. "production": {
  52. "baseHref": "/client/",
  53. "budgets": [
  54. {
  55. "type": "initial",
  56. "maximumWarning": "1.5mb",
  57. "maximumError": "2mb"
  58. },
  59. {
  60. "type": "anyComponentStyle",
  61. "maximumWarning": "2kb",
  62. "maximumError": "4kb"
  63. }
  64. ],
  65. "outputHashing": "all"
  66. },
  67. "development": {
  68. "optimization": false,
  69. "extractLicenses": false,
  70. "sourceMap": true,
  71. "fileReplacements": [
  72. {
  73. "replace": "src/environments/environment.ts",
  74. "with": "src/environments/environment.development.ts"
  75. }
  76. ]
  77. },
  78. "beta": {
  79. "baseHref": "/client/",
  80. "optimization": false,
  81. "extractLicenses": false,
  82. "sourceMap": true,
  83. "fileReplacements": [
  84. {
  85. "replace": "src/environments/environment.ts",
  86. "with": "src/environments/environment.beta.ts"
  87. }
  88. ]
  89. }
  90. },
  91. "defaultConfiguration": "production"
  92. },
  93. "serve": {
  94. "builder": "@angular-devkit/build-angular:dev-server",
  95. "configurations": {
  96. "production": {
  97. "buildTarget": "imaq:build:production"
  98. },
  99. "development": {
  100. "buildTarget": "imaq:build:development"
  101. },
  102. "beta": {
  103. "buildTarget": "imaq:build:beta"
  104. }
  105. },
  106. "defaultConfiguration": "development"
  107. },
  108. "extract-i18n": {
  109. "builder": "@angular-devkit/build-angular:extract-i18n",
  110. "options": {
  111. "buildTarget": "imaq:build"
  112. }
  113. },
  114. "test": {
  115. "builder": "@angular-devkit/build-angular:karma",
  116. "options": {
  117. "polyfills": [
  118. "zone.js",
  119. "zone.js/testing"
  120. ],
  121. "tsConfig": "tsconfig.spec.json",
  122. "inlineStyleLanguage": "scss",
  123. "assets": [
  124. "src/favicon.ico",
  125. "src/assets"
  126. ],
  127. "styles": [
  128. "@angular/material/prebuilt-themes/indigo-pink.css",
  129. "src/styles.scss"
  130. ],
  131. "scripts": []
  132. }
  133. }
  134. }
  135. }
  136. }
  137. }