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

angular.json 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. {
  52. "glob": "**/*",
  53. "input": "node_modules/monaco-editor",
  54. "output": "/assets/monaco"
  55. },
  56. "src/favicon.ico",
  57. "src/assets"
  58. ],
  59. "styles": [
  60. "@angular/material/prebuilt-themes/indigo-pink.css",
  61. "src/styles.scss"
  62. ],
  63. "scripts": []
  64. },
  65. "configurations": {
  66. "production": {
  67. "budgets": [
  68. {
  69. "type": "initial",
  70. "maximumWarning": "500kb",
  71. "maximumError": "1mb"
  72. },
  73. {
  74. "type": "anyComponentStyle",
  75. "maximumWarning": "2kb",
  76. "maximumError": "4kb"
  77. }
  78. ],
  79. "outputHashing": "all"
  80. },
  81. "development": {
  82. "buildOptimizer": false,
  83. "optimization": false,
  84. "vendorChunk": true,
  85. "extractLicenses": false,
  86. "sourceMap": true,
  87. "namedChunks": true
  88. }
  89. },
  90. "defaultConfiguration": "production"
  91. },
  92. "serve": {
  93. "builder": "@angular-devkit/build-angular:dev-server",
  94. "configurations": {
  95. "production": {
  96. "browserTarget": "angular-app-monaco-editor:build:production"
  97. },
  98. "development": {
  99. "browserTarget": "angular-app-monaco-editor:build:development"
  100. }
  101. },
  102. "defaultConfiguration": "development"
  103. },
  104. "extract-i18n": {
  105. "builder": "@angular-devkit/build-angular:extract-i18n",
  106. "options": {
  107. "browserTarget": "angular-app-monaco-editor:build"
  108. }
  109. },
  110. "test": {
  111. "builder": "@angular-devkit/build-angular:karma",
  112. "options": {
  113. "polyfills": [
  114. "zone.js",
  115. "zone.js/testing"
  116. ],
  117. "tsConfig": "tsconfig.spec.json",
  118. "inlineStyleLanguage": "scss",
  119. "assets": [
  120. "src/favicon.ico",
  121. "src/assets"
  122. ],
  123. "styles": [
  124. "@angular/material/prebuilt-themes/indigo-pink.css",
  125. "src/styles.scss"
  126. ],
  127. "scripts": []
  128. }
  129. }
  130. }
  131. }
  132. },
  133. "cli": {
  134. "analytics": "be8b0253-d972-4768-a50b-616c638e426a"
  135. }
  136. }

Powered by TurnKey Linux.