angular.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "WK_KLI_LAPS": {
  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. "progress": true,
  17. "extractCss": true,
  18. "outputPath": "dist",
  19. "index": "src/index.html",
  20. "main": "src/main.ts",
  21. "polyfills": "src/polyfills.ts",
  22. "tsConfig": "src/tsconfig.app.json",
  23. "assets": [
  24. "src/assets",
  25. { "glob": "**/*", "input": "src/assets/zip", "output": "src/assets/zip" }
  26. ],
  27. "styles": [
  28. "src/assets/css/app.css",
  29. "src/assets/css/cust-theme-3.css",
  30. "src/assets/css/custom-theme.scss",
  31. "node_modules/gentelella/vendors/nprogress/nprogress.css",
  32. "node_modules/ngx-toastr/toastr.css",
  33. "node_modules/dhx-richtext/codebase/richtext.min.css",
  34. "node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
  35. "src/assets/css/custom.css",
  36. "node_modules/devextreme/dist/css/dx.common.css",
  37. "node_modules/devextreme/dist/css/dx.light.css",
  38. "src/styles.css",
  39. "node_modules/angular2-draggable/css/resizable.min.css",
  40. "node_modules/primeicons/primeicons.css",
  41. "node_modules/primeng/resources/themes/nova-light/theme.css",
  42. "node_modules/primeng/resources/primeng.min.css"
  43. ],
  44. "scripts": [
  45. "src/assets/js/vendors.js",
  46. "src/assets/js/app.js",
  47. "node_modules/gentelella/vendors/jquery/dist/jquery.min.js",
  48. "node_modules/jquery-ui-sortable/jquery-ui.min.js",
  49. "node_modules/formBuilder/dist/form-builder.min.js",
  50. "node_modules/gentelella/vendors/bootstrap/dist/js/bootstrap.min.js",
  51. "node_modules/gentelella/vendors/fastclick/lib/fastclick.js",
  52. "node_modules/gentelella/vendors/nprogress/nprogress.js",
  53. "node_modules/dhx-richtext/codebase/richtext.min.js",
  54. "node_modules/formBuilder/dist/form-render.min.js",
  55. "src/assets/js/custom.js"
  56. ]
  57. },
  58. "configurations": {
  59. "production": {
  60. "fileReplacements": [
  61. {
  62. "replace": "src/environments/environment.ts",
  63. "with": "src/environments/environment.prod.ts"
  64. }
  65. ],
  66. "optimization": true,
  67. "outputHashing": "all",
  68. "sourceMap": false,
  69. "extractCss": true,
  70. "namedChunks": false,
  71. "aot": true,
  72. "extractLicenses": true,
  73. "vendorChunk": false,
  74. "buildOptimizer": true
  75. },
  76. "testing": {
  77. "fileReplacements": [
  78. {
  79. "replace": "src/environments/environment.ts",
  80. "with": "src/environments/environment.test.ts"
  81. }
  82. ],
  83. "optimization": true,
  84. "outputHashing": "all",
  85. "sourceMap": false,
  86. "extractCss": true,
  87. "namedChunks": false,
  88. "aot": true,
  89. "extractLicenses": true,
  90. "vendorChunk": false,
  91. "buildOptimizer": true
  92. },
  93. "devlopment": {
  94. "fileReplacements": [
  95. {
  96. "replace": "src/environments/environment.ts",
  97. "with": "src/environments/environment.dev.ts"
  98. }
  99. ],
  100. "optimization": true,
  101. "outputHashing": "all",
  102. "sourceMap": false,
  103. "extractCss": true,
  104. "namedChunks": false,
  105. "aot": true,
  106. "extractLicenses": true,
  107. "vendorChunk": false,
  108. "buildOptimizer": true
  109. }
  110. }
  111. },
  112. "serve": {
  113. "builder": "@angular-devkit/build-angular:dev-server",
  114. "options": {
  115. "browserTarget": "WK_KLI_LAPS:build"
  116. },
  117. "configurations": {
  118. "production": {
  119. "browserTarget": "WK_KLI_LAPS:build:production"
  120. },
  121. "testing": {
  122. "browserTarget": "WK_KLI_LAPS:build:testing"
  123. },
  124. "dev": {
  125. "browserTarget": "WK_KLI_LAPS:build:devlopment"
  126. }
  127. }
  128. },
  129. "extract-i18n": {
  130. "builder": "@angular-devkit/build-angular:extract-i18n",
  131. "options": {
  132. "browserTarget": "WK_KLI_LAPS:build"
  133. }
  134. },
  135. "test": {
  136. "builder": "@angular-devkit/build-angular:karma",
  137. "options": {
  138. "main": "src/test.ts",
  139. "polyfills": "src/polyfills.ts",
  140. "tsConfig": "src/tsconfig.spec.json",
  141. "karmaConfig": "src/karma.conf.js",
  142. "styles": [
  143. "styles.css"
  144. ],
  145. "scripts": [],
  146. "assets": [
  147. "src/assets"
  148. ]
  149. }
  150. },
  151. "lint": {
  152. "builder": "@angular-devkit/build-angular:tslint",
  153. "options": {
  154. "tsConfig": [
  155. "src/tsconfig.app.json",
  156. "src/tsconfig.spec.json"
  157. ],
  158. "exclude": [
  159. "**/node_modules/**"
  160. ]
  161. }
  162. },
  163. "server": {
  164. "builder": "@angular-devkit/build-angular:server",
  165. "options": {
  166. "outputPath": "dist-server",
  167. "main": "src/main.ts",
  168. "tsConfig": "src/tsconfig.server.json"
  169. },
  170. "configurations": {
  171. "dev": {
  172. "optimization": true,
  173. "outputHashing": "all",
  174. "sourceMap": false,
  175. "namedChunks": false,
  176. "extractLicenses": true,
  177. "vendorChunk": true
  178. },
  179. "production": {
  180. "optimization": true,
  181. "outputHashing": "all",
  182. "sourceMap": false,
  183. "namedChunks": false,
  184. "extractLicenses": true,
  185. "vendorChunk": false
  186. },
  187. "testing": {
  188. "optimization": true,
  189. "outputHashing": "all",
  190. "sourceMap": false,
  191. "namedChunks": false,
  192. "extractLicenses": true,
  193. "vendorChunk": false
  194. },
  195. "devlopment": {
  196. "optimization": true,
  197. "outputHashing": "all",
  198. "sourceMap": false,
  199. "namedChunks": false,
  200. "extractLicenses": true,
  201. "vendorChunk": false
  202. }
  203. }
  204. }
  205. }
  206. },
  207. "WK_KLI_LAPS-e2e": {
  208. "root": "e2e/",
  209. "projectType": "application",
  210. "architect": {
  211. "e2e": {
  212. "builder": "@angular-devkit/build-angular:protractor",
  213. "options": {
  214. "protractorConfig": "e2e/protractor.conf.js",
  215. "devServerTarget": "WK_KLI_LAPS:serve"
  216. }
  217. },
  218. "lint": {
  219. "builder": "@angular-devkit/build-angular:tslint",
  220. "options": {
  221. "tsConfig": "e2e/tsconfig.e2e.json",
  222. "exclude": [
  223. "**/node_modules/**"
  224. ]
  225. }
  226. }
  227. }
  228. }
  229. },
  230. "defaultProject": "WK_KLI_LAPS",
  231. "cli": {
  232. "analytics": "7ef94db9-cf76-4585-a764-8de68c0fe735"
  233. }
  234. }