angular.json 3.3 KB

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