angular.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "app-angular": {
  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:browser",
  19. "options": {
  20. "outputPath": "dist/app-angular",
  21. "index": "src/index.html",
  22. "main": "src/main.ts",
  23. "polyfills": [
  24. "zone.js"
  25. ],
  26. "tsConfig": "tsconfig.app.json",
  27. "inlineStyleLanguage": "scss",
  28. "assets": [
  29. "src/favicon.ico",
  30. "src/assets",
  31. {
  32. "glob": "**/*.svg",
  33. "input": "node_modules/ionicons/dist/ionicons/svg",
  34. "output": "./svg"
  35. },
  36. {
  37. "glob": "**/*.svg",
  38. "input": "node_modules/ionicons/dist/ionicons/svg",
  39. "output": "./svg"
  40. },
  41. {
  42. "glob": "**/*.svg",
  43. "input": "node_modules/ionicons/dist/ionicons/svg",
  44. "output": "./svg"
  45. },
  46. {
  47. "glob": "**/*.svg",
  48. "input": "node_modules/ionicons/dist/ionicons/svg",
  49. "output": "./svg"
  50. },
  51. {
  52. "glob": "**/*.svg",
  53. "input": "node_modules/ionicons/dist/ionicons/svg",
  54. "output": "./svg"
  55. }
  56. ],
  57. "styles": [
  58. "src/styles.scss",
  59. {
  60. "input": "node_modules/@ionic/angular/css/core.css"
  61. },
  62. {
  63. "input": "node_modules/@ionic/angular/css/normalize.css"
  64. },
  65. {
  66. "input": "node_modules/@ionic/angular/css/structure.css"
  67. },
  68. {
  69. "input": "node_modules/@ionic/angular/css/typography.css"
  70. },
  71. {
  72. "input": "node_modules/@ionic/angular/css/display.css"
  73. },
  74. {
  75. "input": "node_modules/@ionic/angular/css/padding.css"
  76. },
  77. {
  78. "input": "node_modules/@ionic/angular/css/float-elements.css"
  79. },
  80. {
  81. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  82. },
  83. {
  84. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  85. },
  86. {
  87. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  88. },
  89. {
  90. "input": "src/theme/variables.css"
  91. },
  92. {
  93. "input": "node_modules/@ionic/angular/css/core.css"
  94. },
  95. {
  96. "input": "node_modules/@ionic/angular/css/normalize.css"
  97. },
  98. {
  99. "input": "node_modules/@ionic/angular/css/structure.css"
  100. },
  101. {
  102. "input": "node_modules/@ionic/angular/css/typography.css"
  103. },
  104. {
  105. "input": "node_modules/@ionic/angular/css/display.css"
  106. },
  107. {
  108. "input": "node_modules/@ionic/angular/css/padding.css"
  109. },
  110. {
  111. "input": "node_modules/@ionic/angular/css/float-elements.css"
  112. },
  113. {
  114. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  115. },
  116. {
  117. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  118. },
  119. {
  120. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  121. },
  122. {
  123. "input": "src/theme/variables.css"
  124. },
  125. {
  126. "input": "node_modules/@ionic/angular/css/core.css"
  127. },
  128. {
  129. "input": "node_modules/@ionic/angular/css/normalize.css"
  130. },
  131. {
  132. "input": "node_modules/@ionic/angular/css/structure.css"
  133. },
  134. {
  135. "input": "node_modules/@ionic/angular/css/typography.css"
  136. },
  137. {
  138. "input": "node_modules/@ionic/angular/css/display.css"
  139. },
  140. {
  141. "input": "node_modules/@ionic/angular/css/padding.css"
  142. },
  143. {
  144. "input": "node_modules/@ionic/angular/css/float-elements.css"
  145. },
  146. {
  147. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  148. },
  149. {
  150. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  151. },
  152. {
  153. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  154. },
  155. {
  156. "input": "src/theme/variables.css"
  157. },
  158. {
  159. "input": "node_modules/@ionic/angular/css/core.css"
  160. },
  161. {
  162. "input": "node_modules/@ionic/angular/css/normalize.css"
  163. },
  164. {
  165. "input": "node_modules/@ionic/angular/css/structure.css"
  166. },
  167. {
  168. "input": "node_modules/@ionic/angular/css/typography.css"
  169. },
  170. {
  171. "input": "node_modules/@ionic/angular/css/display.css"
  172. },
  173. {
  174. "input": "node_modules/@ionic/angular/css/padding.css"
  175. },
  176. {
  177. "input": "node_modules/@ionic/angular/css/float-elements.css"
  178. },
  179. {
  180. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  181. },
  182. {
  183. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  184. },
  185. {
  186. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  187. },
  188. {
  189. "input": "src/theme/variables.css"
  190. },
  191. {
  192. "input": "node_modules/@ionic/angular/css/core.css"
  193. },
  194. {
  195. "input": "node_modules/@ionic/angular/css/normalize.css"
  196. },
  197. {
  198. "input": "node_modules/@ionic/angular/css/structure.css"
  199. },
  200. {
  201. "input": "node_modules/@ionic/angular/css/typography.css"
  202. },
  203. {
  204. "input": "node_modules/@ionic/angular/css/display.css"
  205. },
  206. {
  207. "input": "node_modules/@ionic/angular/css/padding.css"
  208. },
  209. {
  210. "input": "node_modules/@ionic/angular/css/float-elements.css"
  211. },
  212. {
  213. "input": "node_modules/@ionic/angular/css/text-alignment.css"
  214. },
  215. {
  216. "input": "node_modules/@ionic/angular/css/text-transformation.css"
  217. },
  218. {
  219. "input": "node_modules/@ionic/angular/css/flex-utils.css"
  220. },
  221. {
  222. "input": "src/theme/variables.css"
  223. }
  224. ],
  225. "scripts": []
  226. },
  227. "configurations": {
  228. "production": {
  229. "budgets": [
  230. {
  231. "type": "initial",
  232. "maximumWarning": "500kb",
  233. "maximumError": "1mb"
  234. },
  235. {
  236. "type": "anyComponentStyle",
  237. "maximumWarning": "2kb",
  238. "maximumError": "4kb"
  239. }
  240. ],
  241. "outputHashing": "all"
  242. },
  243. "development": {
  244. "buildOptimizer": false,
  245. "optimization": false,
  246. "vendorChunk": true,
  247. "extractLicenses": false,
  248. "sourceMap": true,
  249. "namedChunks": true
  250. }
  251. },
  252. "defaultConfiguration": "production"
  253. },
  254. "serve": {
  255. "builder": "@angular-devkit/build-angular:dev-server",
  256. "configurations": {
  257. "production": {
  258. "browserTarget": "app-angular:build:production"
  259. },
  260. "development": {
  261. "browserTarget": "app-angular:build:development"
  262. }
  263. },
  264. "defaultConfiguration": "development"
  265. },
  266. "extract-i18n": {
  267. "builder": "@angular-devkit/build-angular:extract-i18n",
  268. "options": {
  269. "browserTarget": "app-angular:build"
  270. }
  271. },
  272. "test": {
  273. "builder": "@angular-devkit/build-angular:karma",
  274. "options": {
  275. "polyfills": [
  276. "zone.js",
  277. "zone.js/testing"
  278. ],
  279. "tsConfig": "tsconfig.spec.json",
  280. "inlineStyleLanguage": "scss",
  281. "assets": [
  282. "src/favicon.ico",
  283. "src/assets",
  284. {
  285. "glob": "**/*.svg",
  286. "input": "node_modules/ionicons/dist/ionicons/svg",
  287. "output": "./svg"
  288. },
  289. {
  290. "glob": "**/*.svg",
  291. "input": "node_modules/ionicons/dist/ionicons/svg",
  292. "output": "./svg"
  293. },
  294. {
  295. "glob": "**/*.svg",
  296. "input": "node_modules/ionicons/dist/ionicons/svg",
  297. "output": "./svg"
  298. },
  299. {
  300. "glob": "**/*.svg",
  301. "input": "node_modules/ionicons/dist/ionicons/svg",
  302. "output": "./svg"
  303. },
  304. {
  305. "glob": "**/*.svg",
  306. "input": "node_modules/ionicons/dist/ionicons/svg",
  307. "output": "./svg"
  308. }
  309. ],
  310. "styles": [
  311. "src/styles.scss"
  312. ],
  313. "scripts": []
  314. }
  315. },
  316. "ionic-cordova-serve": {
  317. "builder": "@ionic/angular-toolkit:cordova-serve",
  318. "options": {
  319. "cordovaBuildTarget": "app-angular:ionic-cordova-build",
  320. "devServerTarget": "app-angular:serve"
  321. },
  322. "configurations": {
  323. "production": {
  324. "cordovaBuildTarget": "app-angular:ionic-cordova-build:production",
  325. "devServerTarget": "app-angular:serve:production"
  326. }
  327. }
  328. },
  329. "ionic-cordova-build": {
  330. "builder": "@ionic/angular-toolkit:cordova-build",
  331. "options": {
  332. "browserTarget": "app-angular:build"
  333. },
  334. "configurations": {
  335. "production": {
  336. "browserTarget": "app-angular:build:production"
  337. }
  338. }
  339. }
  340. }
  341. }
  342. }
  343. }