angular.json 4.3 KB

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