Integration of monaco-editor into angular application: monaco-editor@0.36.1, ngx-monaco-editor-v2@15.0.1

angular.json 3.5KB

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

Powered by TurnKey Linux.