angular.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "inigovalentin": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "style": "scss"
  11. }
  12. },
  13. "root": "",
  14. "sourceRoot": "src",
  15. "prefix": "app",
  16. "architect": {
  17. "build": {
  18. "builder": "@angular-devkit/build-angular:application",
  19. "options": {
  20. "outputPath": "dist/inigovalentin",
  21. "index": "src/index.html",
  22. "browser": "src/main.ts",
  23. "polyfills": [
  24. "zone.js",
  25. "@angular/localize/init"
  26. ],
  27. "tsConfig": "tsconfig.app.json",
  28. "assets": [
  29. {
  30. "glob": "**/*",
  31. "input": "public/"
  32. }
  33. ],
  34. "styles": [
  35. "src/styles/styles.scss"
  36. ],
  37. "scripts": [
  38. "public/js/project.js"
  39. ]
  40. },
  41. "configurations": {
  42. "production": {
  43. "budgets": [
  44. {
  45. "type": "initial",
  46. "maximumWarning": "500kB",
  47. "maximumError": "1MB"
  48. },
  49. {
  50. "type": "anyComponentStyle",
  51. "maximumWarning": "2kB",
  52. "maximumError": "4kB"
  53. }
  54. ],
  55. "outputHashing": "all"
  56. },
  57. "development": {
  58. "optimization": false,
  59. "extractLicenses": false,
  60. "sourceMap": true,
  61. "fileReplacements": [
  62. {
  63. "replace": "src/environments/environment.ts",
  64. "with": "src/environments/environment.development.ts"
  65. }
  66. ]
  67. }
  68. },
  69. "defaultConfiguration": "production"
  70. },
  71. "serve": {
  72. "builder": "@angular-devkit/build-angular:dev-server",
  73. "options": {
  74. "browserTarget": "move-safe:build",
  75. "proxyConfig": "src/proxy.conf.json"
  76. },
  77. "configurations": {
  78. "production": {
  79. "buildTarget": "inigovalentin:build:production"
  80. },
  81. "development": {
  82. "buildTarget": "inigovalentin:build:development"
  83. }
  84. },
  85. "defaultConfiguration": "development"
  86. },
  87. "extract-i18n": {
  88. "builder": "@angular-devkit/build-angular:extract-i18n"
  89. },
  90. "test": {
  91. "builder": "@angular-devkit/build-angular:karma",
  92. "options": {
  93. "polyfills": [
  94. "zone.js",
  95. "zone.js/testing",
  96. "@angular/localize/init"
  97. ],
  98. "tsConfig": "tsconfig.spec.json",
  99. "assets": [
  100. {
  101. "glob": "**/*",
  102. "input": "public"
  103. }
  104. ],
  105. "styles": [
  106. "src/styles/styles.scss"
  107. ],
  108. "scripts": []
  109. }
  110. }
  111. }
  112. }
  113. }
  114. }