Advertisement
fabiobiondi

angular.json demo

Sep 21st, 2021
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "alten-ui": {
  7. "projectType": "application",
  8. "schematics": {
  9. "@schematics/angular:component": {
  10. "inlineTemplate": true,
  11. "inlineStyle": true,
  12. "skipTests": true
  13. },
  14. "@schematics/angular:class": {
  15. "skipTests": true
  16. },
  17. "@schematics/angular:directive": {
  18. "skipTests": true
  19. },
  20. "@schematics/angular:guard": {
  21. "skipTests": true
  22. },
  23. "@schematics/angular:interceptor": {
  24. "skipTests": true
  25. },
  26. "@schematics/angular:pipe": {
  27. "skipTests": true
  28. },
  29. "@schematics/angular:service": {
  30. "skipTests": true
  31. },
  32. "@schematics/angular:application": {
  33. "strict": true
  34. }
  35. },
  36. "root": "",
  37. "sourceRoot": "src",
  38. "prefix": "at",
  39. "architect": {
  40. "build": {
  41. "builder": "@angular-devkit/build-angular:browser",
  42. "options": {
  43. "outputPath": "dist/alten-ui",
  44. "index": "src/index.html",
  45. "main": "src/main.ts",
  46. "polyfills": "src/polyfills.ts",
  47. "tsConfig": "tsconfig.app.json",
  48. "assets": [
  49. "src/favicon.ico",
  50. "src/assets"
  51. ],
  52. "styles": [
  53. "node_modules/bootstrap/dist/css/bootstrap.min.css",
  54. "node_modules/font-awesome/css/font-awesome.min.css",
  55. "src/styles.css"
  56. ],
  57. "scripts": []
  58. },
  59. "configurations": {
  60. "production": {
  61. "budgets": [
  62. {
  63. "type": "initial",
  64. "maximumWarning": "500kb",
  65. "maximumError": "1mb"
  66. },
  67. {
  68. "type": "anyComponentStyle",
  69. "maximumWarning": "2kb",
  70. "maximumError": "4kb"
  71. }
  72. ],
  73. "fileReplacements": [
  74. {
  75. "replace": "src/environments/environment.ts",
  76. "with": "src/environments/environment.prod.ts"
  77. }
  78. ],
  79. "outputHashing": "all"
  80. },
  81. "development": {
  82. "buildOptimizer": false,
  83. "optimization": false,
  84. "vendorChunk": true,
  85. "extractLicenses": false,
  86. "sourceMap": true,
  87. "namedChunks": true
  88. }
  89. },
  90. "defaultConfiguration": "production"
  91. },
  92. "serve": {
  93. "builder": "@angular-devkit/build-angular:dev-server",
  94. "configurations": {
  95. "production": {
  96. "browserTarget": "alten-ui:build:production"
  97. },
  98. "development": {
  99. "browserTarget": "alten-ui:build:development"
  100. }
  101. },
  102. "defaultConfiguration": "development"
  103. },
  104. "extract-i18n": {
  105. "builder": "@angular-devkit/build-angular:extract-i18n",
  106. "options": {
  107. "browserTarget": "alten-ui:build"
  108. }
  109. },
  110. "test": {
  111. "builder": "@angular-devkit/build-angular:karma",
  112. "options": {
  113. "main": "src/test.ts",
  114. "polyfills": "src/polyfills.ts",
  115. "tsConfig": "tsconfig.spec.json",
  116. "karmaConfig": "karma.conf.js",
  117. "assets": [
  118. "src/favicon.ico",
  119. "src/assets"
  120. ],
  121. "styles": [
  122. "src/styles.css"
  123. ],
  124. "scripts": []
  125. }
  126. }
  127. }
  128. }
  129. },
  130. "defaultProject": "alten-ui"
  131. }
  132.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement