angular.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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/ngx-toastr/toastr.css",
  29. "node_modules/ngx-owl-carousel-o/lib/styles/prebuilt-themes/owl.carousel.min.css",
  30. "node_modules/ngx-owl-carousel-o/lib/styles/prebuilt-themes/owl.theme.default.min.css",
  31. "node_modules/animate.css/animate.min.css",
  32. "src/styles.css"
  33. ],
  34. "scripts": [
  35. "node_modules/jquery/dist/jquery.min.js",
  36. "node_modules/popper.js/dist/umd/popper.min.js",
  37. "node_modules/bootstrap/dist/js/bootstrap.js",
  38. "node_modules/slick-carousel/slick/slick.min.js",
  39. "node_modules/owl.carousel/dist/owl.carousel.js"
  40. ]
  41. },
  42. "configurations": {
  43. "production": {
  44. "fileReplacements": [
  45. {
  46. "replace": "src/environments/environment.ts",
  47. "with": "src/environments/environment.prod.ts"
  48. }
  49. ],
  50. "optimization": true,
  51. "outputHashing": "all",
  52. "sourceMap": false,
  53. "extractCss": true,
  54. "namedChunks": false,
  55. "aot": true,
  56. "extractLicenses": true,
  57. "vendorChunk": false,
  58. "buildOptimizer": true,
  59. "budgets": [
  60. {
  61. "type": "initial",
  62. "maximumWarning": "2mb",
  63. "maximumError": "5mb"
  64. }
  65. ]
  66. }
  67. }
  68. },
  69. "serve": {
  70. "builder": "@angular-devkit/build-angular:dev-server",
  71. "options": {
  72. "browserTarget": "medical-project:build"
  73. },
  74. "configurations": {
  75. "production": {
  76. "browserTarget": "medical-project:build:production"
  77. }
  78. }
  79. },
  80. "extract-i18n": {
  81. "builder": "@angular-devkit/build-angular:extract-i18n",
  82. "options": {
  83. "browserTarget": "medical-project:build"
  84. }
  85. },
  86. "test": {
  87. "builder": "@angular-devkit/build-angular:karma",
  88. "options": {
  89. "main": "src/test.ts",
  90. "polyfills": "src/polyfills.ts",
  91. "tsConfig": "src/tsconfig.spec.json",
  92. "karmaConfig": "src/karma.conf.js",
  93. "styles": [
  94. "src/styles.css"
  95. ],
  96. "scripts": [],
  97. "assets": [
  98. "src/favicon.ico",
  99. "src/assets"
  100. ]
  101. }
  102. },
  103. "lint": {
  104. "builder": "@angular-devkit/build-angular:tslint",
  105. "options": {
  106. "tsConfig": [
  107. "src/tsconfig.app.json",
  108. "src/tsconfig.spec.json"
  109. ],
  110. "exclude": [
  111. "**/node_modules/**"
  112. ]
  113. }
  114. }
  115. }
  116. },
  117. "medical-project-e2e": {
  118. "root": "e2e/",
  119. "projectType": "application",
  120. "prefix": "",
  121. "architect": {
  122. "e2e": {
  123. "builder": "@angular-devkit/build-angular:protractor",
  124. "options": {
  125. "protractorConfig": "e2e/protractor.conf.js",
  126. "devServerTarget": "medical-project:serve"
  127. },
  128. "configurations": {
  129. "production": {
  130. "devServerTarget": "medical-project:serve:production"
  131. }
  132. }
  133. },
  134. "lint": {
  135. "builder": "@angular-devkit/build-angular:tslint",
  136. "options": {
  137. "tsConfig": "e2e/tsconfig.e2e.json",
  138. "exclude": [
  139. "**/node_modules/**"
  140. ]
  141. }
  142. }
  143. }
  144. }
  145. },
  146. "defaultProject": "medical-project"
  147. }