angular.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "cli": {
  5. "packageManager": "npm"
  6. },
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "Tik-tok": {
  10. "projectType": "application",
  11. "schematics": {},
  12. "root": "",
  13. "sourceRoot": "src",
  14. "prefix": "app",
  15. "architect": {
  16. "build": {
  17. "builder": "@angular/build:application",
  18. "options": {
  19. "browser": "src/main.ts",
  20. "tsConfig": "tsconfig.app.json",
  21. "assets": [
  22. {
  23. "glob": "**/*",
  24. "input": "public"
  25. }
  26. ],
  27. "styles": [
  28. "src/styles.css"
  29. ]
  30. },
  31. "configurations": {
  32. "production": {
  33. "budgets": [
  34. {
  35. "type": "initial",
  36. "maximumWarning": "1.5MB",
  37. "maximumError": "2MB"
  38. },
  39. {
  40. "type": "anyComponentStyle",
  41. "maximumWarning": "150kB",
  42. "maximumError": "200kB"
  43. }
  44. ],
  45. "outputHashing": "all",
  46. "fileReplacements": [
  47. {
  48. "replace": "src/environments/environment.ts",
  49. "with": "src/environments/environment.prod.ts"
  50. }
  51. ]
  52. },
  53. "development": {
  54. "optimization": false,
  55. "extractLicenses": false,
  56. "sourceMap": true
  57. }
  58. },
  59. "defaultConfiguration": "production"
  60. },
  61. "serve": {
  62. "builder": "@angular/build:dev-server",
  63. "configurations": {
  64. "production": {
  65. "buildTarget": "Tik-tok:build:production"
  66. },
  67. "development": {
  68. "buildTarget": "Tik-tok:build:development"
  69. }
  70. },
  71. "defaultConfiguration": "development"
  72. },
  73. "test": {
  74. "builder": "@angular/build:unit-test"
  75. }
  76. }
  77. }
  78. }
  79. }