You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

129 lines
3.6KB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "hoppe-rules": {
  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-devkit/build-angular:browser",
  19. "options": {
  20. "outputPath": "dist/hoppe-rules",
  21. "index": "src/index.html",
  22. "main": "src/main.ts",
  23. "polyfills": "src/polyfills.ts",
  24. "tsConfig": "tsconfig.app.json",
  25. "aot": true,
  26. "assets": [
  27. "src/favicon.ico",
  28. "src/assets"
  29. ],
  30. "styles": [
  31. "src/styles.scss"
  32. ],
  33. "scripts": []
  34. },
  35. "configurations": {
  36. "production": {
  37. "fileReplacements": [
  38. {
  39. "replace": "src/environments/environment.ts",
  40. "with": "src/environments/environment.prod.ts"
  41. }
  42. ],
  43. "optimization": true,
  44. "outputHashing": "all",
  45. "sourceMap": false,
  46. "namedChunks": false,
  47. "extractLicenses": true,
  48. "vendorChunk": false,
  49. "buildOptimizer": true,
  50. "budgets": [
  51. {
  52. "type": "initial",
  53. "maximumWarning": "2mb",
  54. "maximumError": "5mb"
  55. },
  56. {
  57. "type": "anyComponentStyle",
  58. "maximumWarning": "6kb",
  59. "maximumError": "10kb"
  60. }
  61. ]
  62. }
  63. }
  64. },
  65. "serve": {
  66. "builder": "@angular-devkit/build-angular:dev-server",
  67. "options": {
  68. "browserTarget": "hoppe-rules:build"
  69. },
  70. "configurations": {
  71. "production": {
  72. "browserTarget": "hoppe-rules:build:production"
  73. }
  74. }
  75. },
  76. "extract-i18n": {
  77. "builder": "@angular-devkit/build-angular:extract-i18n",
  78. "options": {
  79. "browserTarget": "hoppe-rules:build"
  80. }
  81. },
  82. "test": {
  83. "builder": "@angular-devkit/build-angular:karma",
  84. "options": {
  85. "main": "src/test.ts",
  86. "polyfills": "src/polyfills.ts",
  87. "tsConfig": "tsconfig.spec.json",
  88. "karmaConfig": "karma.conf.js",
  89. "assets": [
  90. "src/favicon.ico",
  91. "src/assets"
  92. ],
  93. "styles": [
  94. "src/styles.scss"
  95. ],
  96. "scripts": []
  97. }
  98. },
  99. "lint": {
  100. "builder": "@angular-devkit/build-angular:tslint",
  101. "options": {
  102. "tsConfig": [
  103. "tsconfig.app.json",
  104. "tsconfig.spec.json",
  105. "e2e/tsconfig.json"
  106. ],
  107. "exclude": [
  108. "**/node_modules/**"
  109. ]
  110. }
  111. },
  112. "e2e": {
  113. "builder": "@angular-devkit/build-angular:protractor",
  114. "options": {
  115. "protractorConfig": "e2e/protractor.conf.js",
  116. "devServerTarget": "hoppe-rules:serve"
  117. },
  118. "configurations": {
  119. "production": {
  120. "devServerTarget": "hoppe-rules:serve:production"
  121. }
  122. }
  123. }
  124. }
  125. }
  126. },
  127. "defaultProject": "hoppe-rules"
  128. }