angular.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "campus-health-app": {
  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/build:application",
  19. "options": {
  20. "browser": "src/main.ts",
  21. "tsConfig": "tsconfig.app.json",
  22. "inlineStyleLanguage": "scss",
  23. "assets": [
  24. {
  25. "glob": "**/*",
  26. "input": "public"
  27. }
  28. ],
  29. "styles": [
  30. "src/styles.scss"
  31. ],
  32. "scripts": []
  33. },
  34. "configurations": {
  35. "production": {
  36. "budgets": [
  37. {
  38. "type": "initial",
  39. "maximumWarning": "500kB",
  40. "maximumError": "1MB"
  41. },
  42. {
  43. "type": "anyComponentStyle",
  44. "maximumWarning": "4kB",
  45. "maximumError": "8kB"
  46. }
  47. ],
  48. "outputHashing": "all"
  49. },
  50. "development": {
  51. "optimization": false,
  52. "extractLicenses": false,
  53. "sourceMap": true
  54. }
  55. },
  56. "defaultConfiguration": "production"
  57. },
  58. "serve": {
  59. "builder": "@angular/build:dev-server",
  60. "configurations": {
  61. "production": {
  62. "buildTarget": "campus-health-app:build:production"
  63. },
  64. "development": {
  65. "buildTarget": "campus-health-app:build:development"
  66. }
  67. },
  68. "defaultConfiguration": "development"
  69. },
  70. "extract-i18n": {
  71. "builder": "@angular/build:extract-i18n"
  72. },
  73. "test": {
  74. "builder": "@angular/build:karma",
  75. "options": {
  76. "tsConfig": "tsconfig.spec.json",
  77. "inlineStyleLanguage": "scss",
  78. "assets": [
  79. {
  80. "glob": "**/*",
  81. "input": "public"
  82. }
  83. ],
  84. "styles": [
  85. "src/styles.scss"
  86. ]
  87. }
  88. }
  89. }
  90. }
  91. }
  92. }