Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "test": {
  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/test",
  21. "index": "src/index.html",
  22. "main": "src/main.ts",
  23. "polyfills": "src/polyfills.ts",
  24. "tsConfig": "tsconfig.app.json",
  25. "aot": false,
  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. "extractCss": true,
  47. "namedChunks": false,
  48. "aot": true,
  49. "extractLicenses": true,
  50. "vendorChunk": false,
  51. "buildOptimizer": true,
  52. "budgets": [
  53. {
  54. "type": "initial",
  55. "maximumWarning": "2mb",
  56. "maximumError": "5mb"
  57. }
  58. ]
  59. }
  60. }
  61. },
  62. "serve": {
  63. "builder": "@angular-devkit/build-angular:dev-server",
  64. "options": {
  65. "browserTarget": "test:build"
  66. },
  67. "configurations": {
  68. "production": {
  69. "browserTarget": "test:build:production"
  70. }
  71. }
  72. },
  73. "extract-i18n": {
  74. "builder": "@angular-devkit/build-angular:extract-i18n",
  75. "options": {
  76. "browserTarget": "test:build"
  77. }
  78. },
  79. "test": {
  80. "builder": "@angular-devkit/build-angular:karma",
  81. "options": {
  82. "main": "src/test.ts",
  83. "polyfills": "src/polyfills.ts",
  84. "tsConfig": "tsconfig.spec.json",
  85. "karmaConfig": "karma.conf.js",
  86. "assets": [
  87. "src/favicon.ico",
  88. "src/assets"
  89. ],
  90. "styles": [
  91. "src/styles.scss"
  92. ],
  93. "scripts": []
  94. }
  95. },
  96. "lint": {
  97. "builder": "@angular-devkit/build-angular:tslint",
  98. "options": {
  99. "tsConfig": [
  100. "tsconfig.app.json",
  101. "tsconfig.spec.json",
  102. "e2e/tsconfig.json"
  103. ],
  104. "exclude": [
  105. "**/node_modules/**"
  106. ]
  107. }
  108. },
  109. "e2e": {
  110. "builder": "@angular-devkit/build-angular:protractor",
  111. "options": {
  112. "protractorConfig": "e2e/protractor.conf.js",
  113. "devServerTarget": "test:serve"
  114. },
  115. "configurations": {
  116. "production": {
  117. "devServerTarget": "test:serve:production"
  118. }
  119. }
  120. }
  121. }
  122. }},
  123. "defaultProject": "test"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement