You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

145 lines
4.3 KiB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "Fighter": {
  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/Fighter",
  21. "index": "src/index.html",
  22. "main": "src/main.ts",
  23. "polyfills": "src/polyfills.ts",
  24. "tsConfig": "tsconfig.app.json",
  25. "aot": true,
  26. "assets": [
  27. "src/favicon.ico",
  28. "src/assets",
  29. "src/manifest.webmanifest"
  30. ],
  31. "styles": [
  32. "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
  33. "src/styles.scss",
  34. "./node_modules/primeicons/primeicons.css",
  35. "./node_modules/primeng/resources/themes/nova/theme.css",
  36. "./node_modules/primeng/resources/primeng.min.css"
  37. ],
  38. "scripts": []
  39. },
  40. "configurations": {
  41. "production": {
  42. "fileReplacements": [
  43. {
  44. "replace": "src/environments/environment.ts",
  45. "with": "src/environments/environment.prod.ts"
  46. }
  47. ],
  48. "optimization": true,
  49. "outputHashing": "all",
  50. "sourceMap": false,
  51. "extractCss": true,
  52. "namedChunks": false,
  53. "extractLicenses": true,
  54. "vendorChunk": false,
  55. "buildOptimizer": true,
  56. "budgets": [
  57. {
  58. "type": "initial",
  59. "maximumWarning": "2mb",
  60. "maximumError": "5mb"
  61. },
  62. {
  63. "type": "anyComponentStyle",
  64. "maximumWarning": "6kb",
  65. "maximumError": "10kb"
  66. }
  67. ],
  68. "serviceWorker": true,
  69. "ngswConfigPath": "ngsw-config.json"
  70. }
  71. }
  72. },
  73. "serve": {
  74. "builder": "@angular-devkit/build-angular:dev-server",
  75. "options": {
  76. "browserTarget": "Fighter:build"
  77. },
  78. "configurations": {
  79. "production": {
  80. "browserTarget": "Fighter:build:production"
  81. }
  82. }
  83. },
  84. "extract-i18n": {
  85. "builder": "@angular-devkit/build-angular:extract-i18n",
  86. "options": {
  87. "browserTarget": "Fighter:build"
  88. }
  89. },
  90. "test": {
  91. "builder": "@angular-devkit/build-angular:karma",
  92. "options": {
  93. "main": "src/test.ts",
  94. "polyfills": "src/polyfills.ts",
  95. "tsConfig": "tsconfig.spec.json",
  96. "karmaConfig": "karma.conf.js",
  97. "assets": [
  98. "src/favicon.ico",
  99. "src/assets",
  100. "src/manifest.webmanifest"
  101. ],
  102. "styles": [
  103. "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
  104. "src/styles.scss",
  105. "./node_modules/primeicons/primeicons.css",
  106. "./node_modules/primeng/resources/themes/nova/theme.css",
  107. "./node_modules/primeng/resources/primeng.min.css"
  108. ],
  109. "scripts": []
  110. }
  111. },
  112. "lint": {
  113. "builder": "@angular-devkit/build-angular:tslint",
  114. "options": {
  115. "tsConfig": [
  116. "tsconfig.app.json",
  117. "tsconfig.spec.json",
  118. "e2e/tsconfig.json"
  119. ],
  120. "exclude": [
  121. "**/node_modules/**"
  122. ]
  123. }
  124. },
  125. "e2e": {
  126. "builder": "@angular-devkit/build-angular:protractor",
  127. "options": {
  128. "protractorConfig": "e2e/protractor.conf.js",
  129. "devServerTarget": "Fighter:serve"
  130. },
  131. "configurations": {
  132. "production": {
  133. "devServerTarget": "Fighter:serve:production"
  134. }
  135. }
  136. }
  137. }
  138. }
  139. },
  140. "defaultProject": "Fighter",
  141. "cli": {
  142. "analytics": false
  143. }
  144. }