angular.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "expense-manager": {
  7. "projectType": "application",
  8. "schematics": {},
  9. "root": "",
  10. "sourceRoot": "src",
  11. "prefix": "app",
  12. "architect": {
  13. "build": {
  14. "builder": "@angular-devkit/build-angular:browser",
  15. "options": {
  16. "outputPath": "dist/expense-manager",
  17. "index": "src/index.html",
  18. "main": "src/main.ts",
  19. "polyfills": [
  20. "zone.js"
  21. ],
  22. "tsConfig": "tsconfig.app.json",
  23. "assets": [
  24. "src/favicon.ico",
  25. "src/assets"
  26. ],
  27. "styles": [
  28. "node_modules/datatables.net-dt/css/jquery.dataTables.css"
  29. ],
  30. "scripts": [
  31. "node_modules/jquery/dist/jquery.js",
  32. "node_modules/datatables.net/js/jquery.dataTables.js",
  33. "node_modules/jszip/dist/jszip.js",
  34. "node_modules/datatables.net-buttons/js/dataTables.buttons.js",
  35. "node_modules/datatables.net-buttons/js/buttons.colVis.js",
  36. "node_modules/datatables.net-buttons/js/buttons.flash.js",
  37. "node_modules/datatables.net-buttons/js/buttons.html5.js",
  38. "node_modules/datatables.net-buttons/js/buttons.print.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. "buildOptimizer": false,
  59. "optimization": false,
  60. "vendorChunk": true,
  61. "extractLicenses": false,
  62. "sourceMap": true,
  63. "namedChunks": true
  64. }
  65. },
  66. "defaultConfiguration": "production"
  67. },
  68. "serve": {
  69. "builder": "@angular-devkit/build-angular:dev-server",
  70. "configurations": {
  71. "production": {
  72. "browserTarget": "expense-manager:build:production"
  73. },
  74. "development": {
  75. "browserTarget": "expense-manager:build:development"
  76. }
  77. },
  78. "defaultConfiguration": "development"
  79. },
  80. "extract-i18n": {
  81. "builder": "@angular-devkit/build-angular:extract-i18n",
  82. "options": {
  83. "browserTarget": "expense-manager:build"
  84. }
  85. },
  86. "test": {
  87. "builder": "@angular-devkit/build-angular:karma",
  88. "options": {
  89. "polyfills": [
  90. "zone.js",
  91. "zone.js/testing"
  92. ],
  93. "tsConfig": "tsconfig.spec.json",
  94. "assets": [
  95. "src/favicon.ico",
  96. "src/assets"
  97. ],
  98. "styles": [
  99. "node_modules/datatables.net-dt/css/jquery.dataTables.css"
  100. ],
  101. "scripts": [
  102. "node_modules/jquery/dist/jquery.js",
  103. "node_modules/datatables.net/js/jquery.dataTables.js"
  104. ]
  105. }
  106. }
  107. }
  108. }
  109. },
  110. "cli": {
  111. "analytics": "7b0e8936-f9f6-4bcf-8ae6-ca5772e3602c"
  112. }
  113. }