luisruiz

Untitled

Aug 8th, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5.  
  6. "projects": {
  7. "fuse": {
  8. "root": "",
  9. "sourceRoot": "src",
  10. "projectType": "application",
  11. "prefix": "app",
  12. "schematics": {
  13. "@schematics/angular:component": {
  14. "styleext": "scss"
  15. }
  16. },
  17. "architect": {
  18. "build": {
  19. "builder": "@angular-devkit/build-angular:browser",
  20. "options": {
  21. "outputPath": "dist",
  22. "index": "src/index.html",
  23. "main": "src/main.ts",
  24. "polyfills": "src/polyfills.ts",
  25. "tsConfig": "src/tsconfig.app.json",
  26. "assets": [
  27. "src/favicon.ico",
  28. "src/assets",
  29. "src/data",
  30. "src/app/main/angular-material-elements",
  31. "src/firebase-messaging-sw.js",
  32. "src/manifest.json" ],
  33. "styles": [
  34. "src/styles.scss",
  35. "node_modules/froala-editor/css/froala_editor.pkgd.min.css",
  36. "node_modules/froala-editor/css/froala_style.min.css",
  37. "node_modules/font-awesome/css/font-awesome.css",
  38. "node_modules/ngx-lightbox/lightbox.css"
  39. ],
  40. "scripts": [
  41. "node_modules/jquery/dist/jquery.min.js",
  42. "node_modules/froala-editor/js/froala_editor.pkgd.min.js"
  43. ],
  44. "showCircularDependencies": false
  45. },
  46. "configurations": {
  47. "production": {
  48. "fileReplacements": [
  49. {
  50. "replace": "src/environments/environment.ts",
  51. "with": "src/environments/environment.prod.ts"
  52. }
  53. ],
  54. "optimization": true,
  55. "outputHashing": "all",
  56. "sourceMap": false,
  57. "extractCss": true,
  58. "namedChunks": false,
  59. "aot": true,
  60. "extractLicenses": true,
  61. "vendorChunk": false,
  62. "buildOptimizer": true,
  63. "serviceWorker": true,
  64. "ngswConfigPath": "src/ngsw-config.json"
  65. },
  66. "ec": {
  67. "sourceMap": true,
  68. "extractCss": true
  69. },
  70. "hmr": {
  71. "fileReplacements": [
  72. {
  73. "replace": "src/environments/environment.ts",
  74. "with": "src/environments/environment.hmr.ts"
  75. }
  76. ]
  77. }
  78. }
  79. },
  80. "serve": {
  81. "builder": "@angular-devkit/build-angular:dev-server",
  82. "options": {
  83. "browserTarget": "fuse:build"
  84. },
  85. "configurations": {
  86. "production": {
  87. "browserTarget": "fuse:build:production"
  88. },
  89. "hmr": {
  90. "hmr": true,
  91. "fileReplacements": [
  92. {
  93. "replace": "src/environments/environment.ts",
  94. "with": "src/environments/environment.hmr.ts"
  95. }
  96. ],
  97. "browserTarget": "fuse:build:hmr"
  98. },
  99. "ec": {
  100. "browserTarget": "fuse:build:ec"
  101. }
  102. }
  103. },
  104. "extract-i18n": {
  105. "builder": "@angular-devkit/build-angular:extract-i18n",
  106. "options": {
  107. "browserTarget": "fuse: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": "src/tsconfig.spec.json",
  116. "karmaConfig": "src/karma.conf.js",
  117. "styles": [
  118. "styles.scss"
  119. ],
  120. "scripts": [],
  121. "assets": [
  122. "src/favicon.ico",
  123. "src/assets",
  124. "src/firebase-messaging-sw.js",
  125. "src/manifest.json" ]
  126. }
  127. },
  128. "lint": {
  129. "builder": "@angular-devkit/build-angular:tslint",
  130. "options": {
  131. "tsConfig": [
  132. "src/tsconfig.app.json",
  133. "src/tsconfig.spec.json"
  134. ],
  135. "exclude": [
  136. "**/node_modules/**",
  137. "**/src/app/fake-db/**/*",
  138. "**/src/assets/angular-material-examples/**/*"
  139. ]
  140. }
  141. }
  142. }
  143. },
  144. "fuse-e2e": {
  145. "root": "e2e/",
  146. "projectType": "application",
  147. "architect": {
  148. "e2e": {
  149. "builder": "@angular-devkit/build-angular:protractor",
  150. "options": {
  151. "protractorConfig": "e2e/protractor.conf.js",
  152. "devServerTarget": "fuse:serve"
  153. }
  154. },
  155. "lint": {
  156. "builder": "@angular-devkit/build-angular:tslint",
  157. "options": {
  158. "tsConfig": "e2e/tsconfig.e2e.json",
  159. "exclude": [
  160. "**/node_modules/**",
  161. "**/src/app/fake-db/**/*",
  162. "**/src/assets/angular-material-examples/**/*"
  163. ]
  164. }
  165. }
  166. }
  167. }
  168. },
  169. "defaultProject": "fuse"
  170. }
Advertisement
Add Comment
Please, Sign In to add comment