angular.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. "joystream-analytics": {
  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/joystream-analytics",
  27. "index": "src/index.html",
  28. "main": "src/main.ts",
  29. "polyfills": "src/polyfills.ts",
  30. "tsConfig": "tsconfig.app.json",
  31. "inlineStyleLanguage": "scss",
  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. "budgets": [
  44. {
  45. "type": "initial",
  46. "maximumWarning": "5mb",
  47. "maximumError": "6mb"
  48. },
  49. {
  50. "type": "anyComponentStyle",
  51. "maximumWarning": "6kb",
  52. "maximumError": "10kb"
  53. }
  54. ],
  55. "fileReplacements": [
  56. {
  57. "replace": "src/environments/environment.ts",
  58. "with": "src/environments/environment.prod.ts"
  59. }
  60. ],
  61. "outputHashing": "all"
  62. },
  63. "development": {
  64. "buildOptimizer": false,
  65. "optimization": false,
  66. "vendorChunk": true,
  67. "extractLicenses": false,
  68. "sourceMap": true,
  69. "namedChunks": true
  70. }
  71. },
  72. "defaultConfiguration": "production"
  73. },
  74. "serve": {
  75. "builder": "@angular-devkit/build-angular:dev-server",
  76. "configurations": {
  77. "production": {
  78. "browserTarget": "joystream-analytics:build:production"
  79. },
  80. "development": {
  81. "browserTarget": "joystream-analytics:build:development"
  82. }
  83. },
  84. "defaultConfiguration": "development"
  85. },
  86. "extract-i18n": {
  87. "builder": "@angular-devkit/build-angular:extract-i18n",
  88. "options": {
  89. "browserTarget": "joystream-analytics:build"
  90. }
  91. },
  92. "test": {
  93. "builder": "@angular-devkit/build-angular:karma",
  94. "options": {
  95. "main": "src/test.ts",
  96. "polyfills": "src/polyfills.ts",
  97. "tsConfig": "tsconfig.spec.json",
  98. "karmaConfig": "karma.conf.js",
  99. "inlineStyleLanguage": "scss",
  100. "assets": [
  101. "src/favicon.ico",
  102. "src/assets"
  103. ],
  104. "styles": [
  105. "src/styles.scss"
  106. ],
  107. "scripts": []
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "defaultProject": "joystream-analytics"
  114. }