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.

142 lines
3.9 KiB

3 years ago
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "angular-ngrx-course": {
  7. "root": "",
  8. "sourceRoot": "src",
  9. "projectType": "application",
  10. "architect": {
  11. "build": {
  12. "builder": "@angular-devkit/build-angular:browser",
  13. "options": {
  14. "aot": true,
  15. "outputPath": "dist",
  16. "index": "src/index.html",
  17. "main": "src/main.ts",
  18. "tsConfig": "src/tsconfig.app.json",
  19. "polyfills": "src/polyfills.ts",
  20. "assets": [
  21. "src/assets",
  22. "src/favicon.ico"
  23. ],
  24. "styles": [
  25. "src/assets/styles/app.scss"
  26. ],
  27. "scripts": []
  28. },
  29. "configurations": {
  30. "production": {
  31. "budgets": [
  32. {
  33. "type": "anyComponentStyle",
  34. "maximumWarning": "6kb"
  35. }
  36. ],
  37. "optimization": true,
  38. "outputHashing": "all",
  39. "sourceMap": false,
  40. "extractCss": true,
  41. "namedChunks": false,
  42. "aot": true,
  43. "extractLicenses": true,
  44. "vendorChunk": false,
  45. "buildOptimizer": true,
  46. "fileReplacements": [
  47. {
  48. "replace": "src/environments/environment.ts",
  49. "with": "src/environments/environment.prod.ts"
  50. }
  51. ]
  52. }
  53. }
  54. },
  55. "serve": {
  56. "builder": "@angular-devkit/build-angular:dev-server",
  57. "options": {
  58. "browserTarget": "angular-ngrx-course:build"
  59. },
  60. "configurations": {
  61. "production": {
  62. "browserTarget": "angular-ngrx-course:build:production"
  63. }
  64. }
  65. },
  66. "extract-i18n": {
  67. "builder": "@angular-devkit/build-angular:extract-i18n",
  68. "options": {
  69. "browserTarget": "angular-ngrx-course:build"
  70. }
  71. },
  72. "test": {
  73. "builder": "@angular-devkit/build-angular:karma",
  74. "options": {
  75. "main": "src/test.ts",
  76. "karmaConfig": "./karma.conf.js",
  77. "polyfills": "src/polyfills.ts",
  78. "tsConfig": "src/tsconfig.spec.json",
  79. "scripts": [],
  80. "styles": [
  81. "src/styles.scss"
  82. ],
  83. "assets": [
  84. "src/assets",
  85. "src/favicon.ico"
  86. ]
  87. }
  88. },
  89. "lint": {
  90. "builder": "@angular-devkit/build-angular:tslint",
  91. "options": {
  92. "tsConfig": [
  93. "src/tsconfig.app.json",
  94. "src/tsconfig.spec.json"
  95. ],
  96. "exclude": [
  97. "**/node_modules/**"
  98. ]
  99. }
  100. }
  101. }
  102. },
  103. "angular-ngrx-course-e2e": {
  104. "root": "",
  105. "sourceRoot": "",
  106. "projectType": "application",
  107. "architect": {
  108. "e2e": {
  109. "builder": "@angular-devkit/build-angular:protractor",
  110. "options": {
  111. "protractorConfig": "./protractor.conf.js",
  112. "devServerTarget": "angular-ngrx-course:serve"
  113. }
  114. },
  115. "lint": {
  116. "builder": "@angular-devkit/build-angular:tslint",
  117. "options": {
  118. "tsConfig": [
  119. "e2e/tsconfig.e2e.json"
  120. ],
  121. "exclude": [
  122. "**/node_modules/**"
  123. ]
  124. }
  125. }
  126. }
  127. }
  128. },
  129. "defaultProject": "angular-ngrx-course",
  130. "schematics": {
  131. "@ngrx/schematics:component": {
  132. "prefix": "",
  133. "styleext": "scss"
  134. },
  135. "@ngrx/schematics:directive": {
  136. "prefix": ""
  137. }
  138. },
  139. "cli": {
  140. "defaultCollection": "@ngrx/schematics",
  141. "analytics": "78da76fb-38f9-4848-a7fe-1767a6672d4a"
  142. }
  143. }