Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "seapage": {
  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/seapage",
  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. ],
  25. "styles": [
  26. "./node_modules/bootstrap/dist/css/bootstrap.min.css",
  27. "src/styles.css",
  28. ],
  29. "scripts": [
  30. "./node_modules/bootstrap/dist/js/bootstrap.min.js",
  31. "./node_modules/jquery/jquery.min.js",
  32. ],
  33. "es5BrowserSupport": true
  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": "seapage:build"
  66. },
  67. "configurations": {
  68. "production": {
  69. "browserTarget": "seapage:build:production"
  70. }
  71. }
  72. },
  73. "extract-i18n": {
  74. "builder": "@angular-devkit/build-angular:extract-i18n",
  75. "options": {
  76. "browserTarget": "seapage: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": "src/tsconfig.spec.json",
  85. "karmaConfig": "src/karma.conf.js",
  86. "styles": [
  87. "src/styles.css"
  88. ],
  89. "scripts": [],
  90. "assets": [
  91. "src/favicon.ico",
  92. "src/assets"
  93. ]
  94. }
  95. },
  96. "lint": {
  97. "builder": "@angular-devkit/build-angular:tslint",
  98. "options": {
  99. "tsConfig": [
  100. "src/tsconfig.app.json",
  101. "src/tsconfig.spec.json"
  102. ],
  103. "exclude": [
  104. "**/node_modules/**"
  105. ]
  106. }
  107. }
  108. }
  109. },
  110. "seapage-e2e": {
  111. "root": "e2e/",
  112. "projectType": "application",
  113. "prefix": "",
  114. "architect": {
  115. "e2e": {
  116. "builder": "@angular-devkit/build-angular:protractor",
  117. "options": {
  118. "protractorConfig": "e2e/protractor.conf.js",
  119. "devServerTarget": "seapage:serve"
  120. },
  121. "configurations": {
  122. "production": {
  123. "devServerTarget": "seapage:serve:production"
  124. }
  125. }
  126. },
  127. "lint": {
  128. "builder": "@angular-devkit/build-angular:tslint",
  129. "options": {
  130. "tsConfig": "e2e/tsconfig.e2e.json",
  131. "exclude": [
  132. "**/node_modules/**"
  133. ]
  134. }
  135. }
  136. }
  137. }
  138. },
  139. "defaultProject": "seapage"
  140. }
  141.  
  142. import { BrowserModule } from '@angular/platform-browser';
  143. import { NgModule } from '@angular/core';
  144.  
  145. import { AppRoutingModule } from './app-routing.module';
  146. import { AppComponent } from './app.component';
  147. import { SliderComponent } from './slider/slider.component';
  148.  
  149. import { CarouselModule } from 'ngx-bootstrap/carousel';
  150.  
  151. @NgModule({
  152. declarations: [
  153. AppComponent,
  154. SliderComponent
  155. ],
  156. imports: [
  157. CarouselModule.forRoot(),
  158. BrowserModule,
  159. AppRoutingModule
  160. ],
  161. providers: [],
  162. bootstrap: [AppComponent]
  163. })
  164. export class AppModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement