Guest User

Untitled

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