angular.json 4.5 KB

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