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.

angular.json 3.6KB

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