You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

134 lines
3.7 KiB

3 years ago
3 years ago
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "cli": {
  4. "analytics": false
  5. },
  6. "version": 1,
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "test-treegrid": {
  10. "projectType": "application",
  11. "schematics": {
  12. "@schematics/angular:component": {
  13. "style": "scss"
  14. },
  15. "@schematics/angular:application": {
  16. "strict": true
  17. }
  18. },
  19. "root": "",
  20. "sourceRoot": "src",
  21. "prefix": "app",
  22. "architect": {
  23. "build": {
  24. "builder": "@angular-devkit/build-angular:browser",
  25. "options": {
  26. "outputPath": "dist/test-treegrid",
  27. "index": "src/index.html",
  28. "main": "src/main.ts",
  29. "polyfills": "src/polyfills.ts",
  30. "tsConfig": "tsconfig.app.json",
  31. "aot": true,
  32. "assets": [
  33. "src/favicon.ico",
  34. "src/assets"
  35. ],
  36. "styles": [
  37. "src/styles.scss"
  38. ],
  39. "scripts": []
  40. },
  41. "configurations": {
  42. "production": {
  43. "fileReplacements": [
  44. {
  45. "replace": "src/environments/environment.ts",
  46. "with": "src/environments/environment.prod.ts"
  47. }
  48. ],
  49. "optimization": true,
  50. "outputHashing": "all",
  51. "sourceMap": false,
  52. "namedChunks": false,
  53. "extractLicenses": true,
  54. "vendorChunk": false,
  55. "buildOptimizer": true,
  56. "budgets": [
  57. {
  58. "type": "initial",
  59. "maximumWarning": "500kb",
  60. "maximumError": "1mb"
  61. },
  62. {
  63. "type": "anyComponentStyle",
  64. "maximumWarning": "2kb",
  65. "maximumError": "4kb"
  66. }
  67. ]
  68. }
  69. }
  70. },
  71. "serve": {
  72. "builder": "@angular-devkit/build-angular:dev-server",
  73. "options": {
  74. "browserTarget": "test-treegrid:build"
  75. },
  76. "configurations": {
  77. "production": {
  78. "browserTarget": "test-treegrid:build:production"
  79. }
  80. }
  81. },
  82. "extract-i18n": {
  83. "builder": "@angular-devkit/build-angular:extract-i18n",
  84. "options": {
  85. "browserTarget": "test-treegrid:build"
  86. }
  87. },
  88. "test": {
  89. "builder": "@angular-devkit/build-angular:karma",
  90. "options": {
  91. "main": "src/test.ts",
  92. "polyfills": "src/polyfills.ts",
  93. "tsConfig": "tsconfig.spec.json",
  94. "karmaConfig": "karma.conf.js",
  95. "assets": [
  96. "src/favicon.ico",
  97. "src/assets"
  98. ],
  99. "styles": [
  100. "src/styles.scss"
  101. ],
  102. "scripts": []
  103. }
  104. },
  105. "lint": {
  106. "builder": "@angular-devkit/build-angular:tslint",
  107. "options": {
  108. "tsConfig": [
  109. "tsconfig.app.json",
  110. "tsconfig.spec.json",
  111. "e2e/tsconfig.json"
  112. ],
  113. "exclude": [
  114. "**/node_modules/**"
  115. ]
  116. }
  117. },
  118. "e2e": {
  119. "builder": "@angular-devkit/build-angular:protractor",
  120. "options": {
  121. "protractorConfig": "e2e/protractor.conf.js",
  122. "devServerTarget": "test-treegrid:serve"
  123. },
  124. "configurations": {
  125. "production": {
  126. "devServerTarget": "test-treegrid:serve:production"
  127. }
  128. }
  129. }
  130. }
  131. }
  132. },
  133. "defaultProject": "test-treegrid"
  134. }