angular.json 3.8 KB

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