angular.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "nova-live": {
  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:application",
  19. "options": {
  20. "outputPath": "dist/nova-live",
  21. "index": "src/index.html",
  22. "browser": "src/main.ts",
  23. "polyfills": [
  24. "zone.js"
  25. ],
  26. "tsConfig": "tsconfig.app.json",
  27. "inlineStyleLanguage": "scss",
  28. "assets": [
  29. {
  30. "glob": "**/*",
  31. "input": "public"
  32. }
  33. ],
  34. "styles": [
  35. "src/styles.scss"
  36. ],
  37. "scripts": []
  38. },
  39. "configurations": {
  40. "production": {
  41. "budgets": [
  42. {
  43. "type": "initial",
  44. "maximumWarning": "500kB",
  45. "maximumError": "1MB"
  46. },
  47. {
  48. "type": "anyComponentStyle",
  49. "maximumWarning": "2kB",
  50. "maximumError": "4kB"
  51. }
  52. ],
  53. "outputHashing": "all"
  54. },
  55. "development": {
  56. "optimization": false,
  57. "extractLicenses": false,
  58. "sourceMap": true
  59. }
  60. },
  61. "defaultConfiguration": "production"
  62. },
  63. "serve": {
  64. "builder": "@angular-devkit/build-angular:dev-server",
  65. "configurations": {
  66. "production": {
  67. "buildTarget": "nova-live:build:production"
  68. },
  69. "development": {
  70. "buildTarget": "nova-live:build:development"
  71. }
  72. },
  73. "defaultConfiguration": "development"
  74. },
  75. "extract-i18n": {
  76. "builder": "@angular-devkit/build-angular:extract-i18n"
  77. },
  78. "test": {
  79. "builder": "@angular-devkit/build-angular:karma",
  80. "options": {
  81. "polyfills": [
  82. "zone.js",
  83. "zone.js/testing"
  84. ],
  85. "tsConfig": "tsconfig.spec.json",
  86. "inlineStyleLanguage": "scss",
  87. "assets": [
  88. {
  89. "glob": "**/*",
  90. "input": "public"
  91. },
  92. {
  93. "glob": "**/*",
  94. "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
  95. "output": "/assets/"
  96. },
  97. {
  98. "glob": "**/*",
  99. "input": "./node_modules/material-icons/iconfont/",
  100. "output": "/assets/material-icons/"
  101. }
  102. ],
  103. "styles": [
  104. "src/styles.scss"
  105. ],
  106. "scripts": []
  107. }
  108. }
  109. }
  110. },
  111. "live-app": {
  112. "projectType": "application",
  113. "schematics": {
  114. "@schematics/angular:component": {
  115. "style": "scss"
  116. }
  117. },
  118. "root": "projects/live-app",
  119. "sourceRoot": "projects/live-app/src",
  120. "prefix": "app",
  121. "architect": {
  122. "build": {
  123. "builder": "@angular-devkit/build-angular:application",
  124. "options": {
  125. "outputPath": "dist/live-app",
  126. "index": "projects/live-app/src/index.html",
  127. "browser": "projects/live-app/src/main.ts",
  128. "polyfills": [
  129. "zone.js"
  130. ],
  131. "tsConfig": "projects/live-app/tsconfig.app.json",
  132. "inlineStyleLanguage": "scss",
  133. "assets": [
  134. "projects/live-app/src/assets/js/AgoraRTC_N-4.14.0.js",
  135. "projects/live-app/src/assets/js/agora-rtm-2.2.0.min.js",
  136. "projects/live-app/src/assets/js/vap.min.js",
  137. {
  138. "glob": "**/*",
  139. "input": "projects/live-app/public"
  140. }
  141. ],
  142. "styles": [
  143. "projects/live-app/src/styles.scss"
  144. ],
  145. "scripts": []
  146. },
  147. "configurations": {
  148. "production": {
  149. "budgets": [
  150. {
  151. "type": "initial",
  152. "maximumWarning": "2MB",
  153. "maximumError": "10MB"
  154. },
  155. {
  156. "type": "anyComponentStyle",
  157. "maximumWarning": "10kB",
  158. "maximumError": "20kB"
  159. }
  160. ],
  161. "outputHashing": "all"
  162. },
  163. "development": {
  164. "optimization": false,
  165. "extractLicenses": false,
  166. "sourceMap": true
  167. }
  168. },
  169. "defaultConfiguration": "production"
  170. },
  171. "serve": {
  172. "builder": "@angular-devkit/build-angular:dev-server",
  173. "configurations": {
  174. "production": {
  175. "buildTarget": "live-app:build:production"
  176. },
  177. "development": {
  178. "buildTarget": "live-app:build:development"
  179. }
  180. },
  181. "defaultConfiguration": "development"
  182. },
  183. "extract-i18n": {
  184. "builder": "@angular-devkit/build-angular:extract-i18n"
  185. },
  186. "test": {
  187. "builder": "@angular-devkit/build-angular:karma",
  188. "options": {
  189. "polyfills": [
  190. "zone.js",
  191. "zone.js/testing"
  192. ],
  193. "tsConfig": "projects/live-app/tsconfig.spec.json",
  194. "inlineStyleLanguage": "scss",
  195. "assets": [
  196. {
  197. "glob": "**/*",
  198. "input": "projects/live-app/public"
  199. }
  200. ],
  201. "styles": [
  202. "projects/live-app/src/styles.scss"
  203. ],
  204. "scripts": []
  205. }
  206. }
  207. }
  208. }
  209. },
  210. "cli": {
  211. "analytics": false
  212. }
  213. }