Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

149 строки
4.4 KiB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "plp-angular": {
  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. "crossOrigin": "anonymous",
  21. "outputPath": "dist/plp-angular",
  22. "index": "src/index.html",
  23. "main": "src/main.ts",
  24. "polyfills": "src/polyfills.ts",
  25. "tsConfig": "tsconfig.app.json",
  26. "aot": true,
  27. "assets": [
  28. "src/favicon.ico",
  29. "src/assets"
  30. ],
  31. "styles": [
  32. "src/scss/styles.scss",
  33. "./node_modules/angular-calendar/css/angular-calendar.css",
  34. "./node_modules/ag-grid-community/styles/ag-grid.css",
  35. "./node_modules/ag-grid-community/styles/ag-theme-balham.css"
  36. ],
  37. "scripts": []
  38. },
  39. "configurations": {
  40. "gamma": {
  41. "fileReplacements": [
  42. {
  43. "replace": "src/environments/environment.ts",
  44. "with": "src/environments/environment.gamma.ts"
  45. }
  46. ]
  47. },
  48. "beta": {
  49. "fileReplacements": [
  50. {
  51. "replace": "src/environments/environment.ts",
  52. "with": "src/environments/environment.beta.ts"
  53. }
  54. ]
  55. },
  56. "production": {
  57. "fileReplacements": [
  58. {
  59. "replace": "src/environments/environment.ts",
  60. "with": "src/environments/environment.prod.ts"
  61. }
  62. ],
  63. "optimization": true,
  64. "outputHashing": "all",
  65. "sourceMap": false,
  66. "extractCss": true,
  67. "namedChunks": false,
  68. "aot": true,
  69. "extractLicenses": true,
  70. "vendorChunk": false,
  71. "buildOptimizer": true,
  72. "budgets": [
  73. {
  74. "type": "initial",
  75. "maximumWarning": "2mb",
  76. "maximumError": "5mb"
  77. },
  78. {
  79. "type": "anyComponentStyle",
  80. "maximumWarning": "6kb",
  81. "maximumError": "10kb"
  82. }
  83. ]
  84. }
  85. }
  86. },
  87. "serve": {
  88. "builder": "@angular-devkit/build-angular:dev-server",
  89. "options": {
  90. "browserTarget": "plp-angular:build"
  91. },
  92. "configurations": {
  93. "production": {
  94. "browserTarget": "plp-angular:build:production"
  95. }
  96. }
  97. },
  98. "extract-i18n": {
  99. "builder": "@angular-devkit/build-angular:extract-i18n",
  100. "options": {
  101. "browserTarget": "plp-angular:build"
  102. }
  103. },
  104. "test": {
  105. "builder": "@angular-devkit/build-angular:karma",
  106. "options": {
  107. "main": "src/test.ts",
  108. "polyfills": "src/polyfills.ts",
  109. "tsConfig": "tsconfig.spec.json",
  110. "karmaConfig": "karma.conf.js",
  111. "assets": [
  112. "src/favicon.ico",
  113. "src/assets"
  114. ],
  115. "styles": [
  116. "src/scss/styles.scss"
  117. ],
  118. "scripts": []
  119. }
  120. },
  121. "lint": {
  122. "builder": "@angular-devkit/build-angular:tslint",
  123. "options": {
  124. "tsConfig": [
  125. "tsconfig.app.json",
  126. "tsconfig.spec.json",
  127. "e2e/tsconfig.json"
  128. ],
  129. "exclude": [
  130. "**/node_modules/**"
  131. ]
  132. }
  133. },
  134. "e2e": {
  135. "builder": "@angular-devkit/build-angular:protractor",
  136. "options": {
  137. "protractorConfig": "e2e/protractor.conf.js",
  138. "devServerTarget": "plp-angular:serve"
  139. },
  140. "configurations": {
  141. "production": {
  142. "devServerTarget": "plp-angular:serve:production"
  143. }
  144. }
  145. }
  146. }
  147. }},
  148. "defaultProject": "plp-angular"
  149. }