angular.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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": "sass"
  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. "./src/custom.scss"
  41. ],
  42. "scripts": [],
  43. "vendorChunk": true,
  44. "extractLicenses": false,
  45. "buildOptimizer": false,
  46. "sourceMap": true,
  47. "optimization": false,
  48. "namedChunks": true
  49. },
  50. "configurations": {
  51. "production": {
  52. "fileReplacements": [
  53. {
  54. "replace": "environments/environment.ts",
  55. "with": "environments/environment.prod.ts"
  56. }
  57. ],
  58. "optimization": true,
  59. "outputHashing": "all",
  60. "namedChunks": false,
  61. "statsJson": true,
  62. "extractLicenses": true,
  63. "vendorChunk": false,
  64. "buildOptimizer": true,
  65. "budgets": [
  66. {
  67. "type": "initial",
  68. "maximumWarning": "3mb",
  69. "maximumError": "5mb"
  70. },
  71. {
  72. "type": "anyComponentStyle",
  73. "maximumWarning": "60kb",
  74. "maximumError": "100kb"
  75. }
  76. ]
  77. }
  78. },
  79. "defaultConfiguration": ""
  80. },
  81. "serve": {
  82. "builder": "@angular-builders/custom-webpack:dev-server",
  83. "options": {
  84. "port": 8080,
  85. "browserTarget": "attractiveness:build"
  86. },
  87. "configurations": {
  88. "production": {
  89. "browserTarget": "attractiveness:build:production"
  90. }
  91. }
  92. },
  93. "extract-i18n": {
  94. "builder": "@angular-devkit/build-angular:extract-i18n",
  95. "options": {
  96. "browserTarget": "attractiveness:build"
  97. }
  98. },
  99. "test": {
  100. "builder": "@angular-devkit/build-angular:karma",
  101. "options": {
  102. "main": "test.ts",
  103. "polyfills": "polyfills.ts",
  104. "tsConfig": "tsconfig.spec.json",
  105. "karmaConfig": "karma.conf.js",
  106. "assets": [
  107. "favicon.ico"
  108. ],
  109. "styles": [
  110. ],
  111. "scripts": []
  112. }
  113. },
  114. "e2e": {
  115. "builder": "@angular-devkit/build-angular:protractor",
  116. "options": {
  117. "protractorConfig": "e2e/protractor.conf.js",
  118. "devServerTarget": "attractiveness:serve"
  119. },
  120. "configurations": {
  121. "production": {
  122. "devServerTarget": "attractiveness:serve:production"
  123. }
  124. }
  125. }
  126. }
  127. }
  128. },
  129. "defaultProject": "attractiveness",
  130. "cli": {
  131. "analytics": false
  132. }
  133. }