angular.json 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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. "ionic-cordova-build": {
  64. "builder": "@angular-devkit/build-angular:browser",
  65. "options": {
  66. "outputPath": "www",
  67. "index": "src/index.html",
  68. "main": "src/main.ts",
  69. "polyfills": "src/polyfills.ts",
  70. "tsConfig": "tsconfig.app.json",
  71. "assets": [
  72. "src/favicon.ico",
  73. "src/assets"
  74. ],
  75. "styles": [
  76. "src/styles.scss"
  77. ],
  78. "scripts": []
  79. }
  80. },
  81. "serve": {
  82. "builder": "@angular-devkit/build-angular:dev-server",
  83. "configurations": {
  84. "production": {
  85. "buildTarget": "nova-live:build:production"
  86. },
  87. "development": {
  88. "buildTarget": "nova-live:build:development"
  89. }
  90. },
  91. "defaultConfiguration": "development"
  92. },
  93. "extract-i18n": {
  94. "builder": "@angular-devkit/build-angular:extract-i18n"
  95. },
  96. "test": {
  97. "builder": "@angular-devkit/build-angular:karma",
  98. "options": {
  99. "polyfills": [
  100. "zone.js",
  101. "zone.js/testing"
  102. ],
  103. "tsConfig": "tsconfig.spec.json",
  104. "inlineStyleLanguage": "scss",
  105. "assets": [
  106. {
  107. "glob": "**/*",
  108. "input": "public"
  109. },
  110. {
  111. "glob": "**/*",
  112. "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
  113. "output": "/assets/"
  114. },
  115. {
  116. "glob": "**/*",
  117. "input": "./node_modules/material-icons/iconfont/",
  118. "output": "/assets/material-icons/"
  119. }
  120. ],
  121. "styles": [
  122. "src/styles.scss"
  123. ],
  124. "scripts": []
  125. }
  126. }
  127. }
  128. },
  129. "live-app": {
  130. "projectType": "application",
  131. "schematics": {
  132. "@schematics/angular:component": {
  133. "style": "scss"
  134. }
  135. },
  136. "root": "projects/live-app",
  137. "sourceRoot": "projects/live-app/src",
  138. "prefix": "app",
  139. "architect": {
  140. "build": {
  141. "builder": "@angular-devkit/build-angular:application",
  142. "options": {
  143. "outputPath": "dist/live-app",
  144. "index": "projects/live-app/src/index.html",
  145. "browser": "projects/live-app/src/main.ts",
  146. "polyfills": [
  147. "zone.js"
  148. ],
  149. "tsConfig": "projects/live-app/tsconfig.app.json",
  150. "inlineStyleLanguage": "scss",
  151. "assets": [
  152. "projects/live-app/src/assets/js/AgoraRTC_N-4.14.0.js",
  153. "projects/live-app/src/assets/js/agora-rtm-2.2.0.min.js",
  154. "projects/live-app/src/assets/js/vap.min.js",
  155. {
  156. "glob": "**/*",
  157. "input": "projects/live-app/public"
  158. }
  159. ],
  160. "styles": [
  161. "projects/live-app/src/styles.scss"
  162. ],
  163. "scripts": []
  164. },
  165. "configurations": {
  166. "production": {
  167. "budgets": [
  168. {
  169. "type": "initial",
  170. "maximumWarning": "2MB",
  171. "maximumError": "10MB"
  172. },
  173. {
  174. "type": "anyComponentStyle",
  175. "maximumWarning": "10kB",
  176. "maximumError": "20kB"
  177. }
  178. ],
  179. "outputHashing": "all"
  180. },
  181. "development": {
  182. "optimization": false,
  183. "extractLicenses": false,
  184. "sourceMap": true
  185. }
  186. },
  187. "defaultConfiguration": "production"
  188. },
  189. "ionic-cordova-build": {
  190. "builder": "@angular-devkit/build-angular:browser",
  191. "options": {
  192. "outputPath": "www",
  193. "index": "projects/live-app/src/index.html",
  194. "main": "projects/live-app/src/main.ts",
  195. "polyfills": "zone.js",
  196. "tsConfig": "projects/live-app/tsconfig.app.json",
  197. "assets": [
  198. "projects/live-app/src/favicon.ico",
  199. "projects/live-app/src/assets"
  200. ],
  201. "styles": [
  202. "projects/live-app/src/styles.scss"
  203. ],
  204. "scripts": []
  205. }
  206. },
  207. "serve": {
  208. "builder": "@angular-devkit/build-angular:dev-server",
  209. "configurations": {
  210. "production": {
  211. "buildTarget": "live-app:build:production"
  212. },
  213. "development": {
  214. "buildTarget": "live-app:build:development"
  215. }
  216. },
  217. "defaultConfiguration": "development"
  218. },
  219. "extract-i18n": {
  220. "builder": "@angular-devkit/build-angular:extract-i18n"
  221. },
  222. "test": {
  223. "builder": "@angular-devkit/build-angular:karma",
  224. "options": {
  225. "polyfills": [
  226. "zone.js",
  227. "zone.js/testing"
  228. ],
  229. "tsConfig": "projects/live-app/tsconfig.spec.json",
  230. "inlineStyleLanguage": "scss",
  231. "assets": [
  232. {
  233. "glob": "**/*",
  234. "input": "projects/live-app/public"
  235. }
  236. ],
  237. "styles": [
  238. "projects/live-app/src/styles.scss"
  239. ],
  240. "scripts": []
  241. }
  242. }
  243. }
  244. }
  245. },
  246. "cli": {
  247. "analytics": false
  248. }
  249. }