Angular project using NgRx pattern to manage state of a system

angular.json 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "challengeNgRX": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:application": {
  10. "strict": true
  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/challenge-ng-rx",
  21. "index": "src/index.html",
  22. "main": "src/main.ts",
  23. "polyfills": "src/polyfills.ts",
  24. "tsConfig": "tsconfig.app.json",
  25. "assets": [
  26. "src/favicon.ico",
  27. "src/assets"
  28. ],
  29. "styles": [
  30. "src/styles.css"
  31. ],
  32. "scripts": []
  33. },
  34. "configurations": {
  35. "production": {
  36. "budgets": [
  37. {
  38. "type": "initial",
  39. "maximumWarning": "500kb",
  40. "maximumError": "1mb"
  41. },
  42. {
  43. "type": "anyComponentStyle",
  44. "maximumWarning": "2kb",
  45. "maximumError": "4kb"
  46. }
  47. ],
  48. "fileReplacements": [
  49. {
  50. "replace": "src/environments/environment.ts",
  51. "with": "src/environments/environment.prod.ts"
  52. }
  53. ],
  54. "outputHashing": "all"
  55. },
  56. "development": {
  57. "buildOptimizer": false,
  58. "optimization": false,
  59. "vendorChunk": true,
  60. "extractLicenses": false,
  61. "sourceMap": true,
  62. "namedChunks": true
  63. }
  64. },
  65. "defaultConfiguration": "production"
  66. },
  67. "serve": {
  68. "builder": "@angular-devkit/build-angular:dev-server",
  69. "configurations": {
  70. "production": {
  71. "browserTarget": "challengeNgRX:build:production"
  72. },
  73. "development": {
  74. "browserTarget": "challengeNgRX:build:development"
  75. }
  76. },
  77. "defaultConfiguration": "development"
  78. },
  79. "extract-i18n": {
  80. "builder": "@angular-devkit/build-angular:extract-i18n",
  81. "options": {
  82. "browserTarget": "challengeNgRX:build"
  83. }
  84. },
  85. "test": {
  86. "builder": "@angular-devkit/build-angular:karma",
  87. "options": {
  88. "main": "src/test.ts",
  89. "polyfills": "src/polyfills.ts",
  90. "tsConfig": "tsconfig.spec.json",
  91. "karmaConfig": "karma.conf.js",
  92. "assets": [
  93. "src/favicon.ico",
  94. "src/assets"
  95. ],
  96. "styles": [
  97. "src/styles.css"
  98. ],
  99. "scripts": []
  100. }
  101. }
  102. }
  103. }
  104. },
  105. "defaultProject": "challengeNgRX"
  106. }

Powered by TurnKey Linux.