angular.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "SensLog": {
  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. "allowedCommonJsDependencies": [
  21. "moment-timezone"
  22. ],
  23. "sourceMap": true,
  24. "outputPath": "dist/SensLog",
  25. "index": "src/index.html",
  26. "main": "src/main.ts",
  27. "polyfills": "src/polyfills.ts",
  28. "tsConfig": "tsconfig.app.json",
  29. "preserveSymlinks": true,
  30. "aot": true,
  31. "assets": [
  32. "src/favicon.ico",
  33. "src/assets",
  34. {
  35. "glob": "**/*",
  36. "input": "./node_modules/hslayers-ng/src/assets",
  37. "output": "./hslayers-ng/assets"
  38. }
  39. ],
  40. "styles": [
  41. "node_modules/primeng/resources/themes/bootstrap4-dark-blue/theme.css",
  42. "node_modules/primeng/resources/primeng.min.css",
  43. "node_modules/primeicons/primeicons.css",
  44. "src/assets/scss/styles.scss",
  45. "node_modules/hslayers-ng/css/hslayers-ng-wo-bootstrap.css"
  46. ],
  47. "scripts": [
  48. "node_modules/jquery/dist/jquery.js",
  49. "node_modules/bootstrap/dist/js/bootstrap.js"
  50. ]
  51. },
  52. "configurations": {
  53. "production": {
  54. "fileReplacements": [
  55. {
  56. "replace": "src/environments/environment.ts",
  57. "with": "src/environments/environment.prod.ts"
  58. }
  59. ],
  60. "optimization": true,
  61. "outputHashing": "all",
  62. "sourceMap": true,
  63. "namedChunks": false,
  64. "extractLicenses": true,
  65. "vendorChunk": false,
  66. "buildOptimizer": true,
  67. "budgets": [
  68. {
  69. "type": "initial",
  70. "maximumWarning": "3mb",
  71. "maximumError": "7mb"
  72. },
  73. {
  74. "type": "anyComponentStyle",
  75. "maximumWarning": "6kb",
  76. "maximumError": "10kb"
  77. }
  78. ]
  79. },
  80. "dev": {
  81. "fileReplacements": [
  82. {
  83. "replace": "src/environments/environment.ts",
  84. "with": "src/environments/environment.dev.ts"
  85. }
  86. ],
  87. "optimization": true,
  88. "outputHashing": "all",
  89. "sourceMap": true,
  90. "namedChunks": false,
  91. "extractLicenses": true,
  92. "vendorChunk": false,
  93. "buildOptimizer": true,
  94. "budgets": [
  95. {
  96. "type": "initial",
  97. "maximumWarning": "3mb",
  98. "maximumError": "7mb"
  99. },
  100. {
  101. "type": "anyComponentStyle",
  102. "maximumWarning": "6kb",
  103. "maximumError": "10kb"
  104. }
  105. ]
  106. }
  107. }
  108. },
  109. "serve": {
  110. "builder": "@angular-devkit/build-angular:dev-server",
  111. "options": {
  112. "browserTarget": "SensLog:build",
  113. "proxyConfig": "proxy-config.json"
  114. },
  115. "configurations": {
  116. "production": {
  117. "browserTarget": "SensLog:build:production"
  118. },
  119. "dev": {
  120. "browserTarget": "SensLog:build:dev"
  121. }
  122. }
  123. },
  124. "extract-i18n": {
  125. "builder": "@angular-devkit/build-angular:extract-i18n",
  126. "options": {
  127. "browserTarget": "SensLog:build"
  128. }
  129. },
  130. "test": {
  131. "builder": "@angular-devkit/build-angular:karma",
  132. "options": {
  133. "main": "src/test.ts",
  134. "polyfills": "src/polyfills.ts",
  135. "tsConfig": "tsconfig.spec.json",
  136. "karmaConfig": "karma.conf.js",
  137. "assets": [
  138. "src/favicon.ico",
  139. "src/assets"
  140. ],
  141. "styles": [
  142. "src/styles.scss"
  143. ],
  144. "scripts": []
  145. }
  146. },
  147. "lint": {
  148. "builder": "@angular-devkit/build-angular:tslint",
  149. "options": {
  150. "tsConfig": [
  151. "tsconfig.app.json",
  152. "tsconfig.spec.json",
  153. "e2e/tsconfig.json"
  154. ],
  155. "exclude": [
  156. "**/node_modules/**"
  157. ]
  158. }
  159. },
  160. "e2e": {
  161. "builder": "@angular-devkit/build-angular:protractor",
  162. "options": {
  163. "protractorConfig": "e2e/protractor.conf.js",
  164. "devServerTarget": "SensLog:serve"
  165. },
  166. "configurations": {
  167. "production": {
  168. "devServerTarget": "SensLog:serve:production"
  169. },
  170. "dev": {
  171. "devServerTarget": "SensLog:serve:dev"
  172. }
  173. }
  174. }
  175. }
  176. }
  177. },
  178. "cli": {
  179. "analytics": false
  180. },
  181. "schematics": {
  182. "@angular-eslint/schematics:application": {
  183. "setParserOptionsProject": true
  184. },
  185. "@angular-eslint/schematics:library": {
  186. "setParserOptionsProject": true
  187. }
  188. }
  189. }