ニジカ投稿局 https://tv.nizika.tv
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

340 lines
10 KiB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "PeerTube": {
  7. "root": "",
  8. "sourceRoot": "src",
  9. "projectType": "application",
  10. "i18n": {
  11. "sourceLocale": {
  12. "code": "en",
  13. "baseHref": "/client/en-US/"
  14. },
  15. "locales": {
  16. "ar": {
  17. "translation": "src/locale/angular.ar.xlf",
  18. "baseHref": "/client/ar/"
  19. },
  20. "fa": {
  21. "translation": "src/locale/angular.fa-IR.xlf",
  22. "baseHref": "/client/fa-IR/"
  23. },
  24. "hu": {
  25. "translation": "src/locale/angular.hu-HU.xlf",
  26. "baseHref": "/client/hu-HU/"
  27. },
  28. "th": {
  29. "translation": "src/locale/angular.th-TH.xlf",
  30. "baseHref": "/client/th-TH/"
  31. },
  32. "tr": {
  33. "translation": "src/locale/angular.tr-TR.xlf",
  34. "baseHref": "/client/tr-TR/"
  35. },
  36. "fi": {
  37. "translation": "src/locale/angular.fi-FI.xlf",
  38. "baseHref": "/client/fi-FI/"
  39. },
  40. "nl": {
  41. "translation": "src/locale/angular.nl-NL.xlf",
  42. "baseHref": "/client/nl-NL/"
  43. },
  44. "gd": {
  45. "translation": "src/locale/angular.gd.xlf",
  46. "baseHref": "/client/gd/"
  47. },
  48. "el": {
  49. "translation": "src/locale/angular.el-GR.xlf",
  50. "baseHref": "/client/el-GR/"
  51. },
  52. "es": {
  53. "translation": "src/locale/angular.es-ES.xlf",
  54. "baseHref": "/client/es-ES/"
  55. },
  56. "oc": {
  57. "translation": "src/locale/angular.oc.xlf",
  58. "baseHref": "/client/oc/"
  59. },
  60. "pt": {
  61. "translation": "src/locale/angular.pt-BR.xlf",
  62. "baseHref": "/client/pt-BR/"
  63. },
  64. "pt-PT": {
  65. "translation": "src/locale/angular.pt-PT.xlf",
  66. "baseHref": "/client/pt-PT/"
  67. },
  68. "sv": {
  69. "translation": "src/locale/angular.sv-SE.xlf",
  70. "baseHref": "/client/sv-SE/"
  71. },
  72. "pl": {
  73. "translation": "src/locale/angular.pl-PL.xlf",
  74. "baseHref": "/client/pl-PL/"
  75. },
  76. "ru": {
  77. "translation": "src/locale/angular.ru-RU.xlf",
  78. "baseHref": "/client/ru-RU/"
  79. },
  80. "sq": {
  81. "translation": "src/locale/angular.sq.xlf",
  82. "baseHref": "/client/sq/"
  83. },
  84. "hr": {
  85. "translation": "src/locale/angular.hr.xlf",
  86. "baseHref": "/client/hr/"
  87. },
  88. "zh-Hans": {
  89. "translation": "src/locale/angular.zh-Hans-CN.xlf",
  90. "baseHref": "/client/zh-Hans-CN/"
  91. },
  92. "zh-Hant": {
  93. "translation": "src/locale/angular.zh-Hant-TW.xlf",
  94. "baseHref": "/client/zh-Hant-TW/"
  95. },
  96. "fr": {
  97. "translation": "src/locale/angular.fr-FR.xlf",
  98. "baseHref": "/client/fr-FR/"
  99. },
  100. "ja": {
  101. "translation": "src/locale/angular.ja-JP.xlf",
  102. "baseHref": "/client/ja-JP/"
  103. },
  104. "eu": {
  105. "translation": "src/locale/angular.eu-ES.xlf",
  106. "baseHref": "/client/eu-ES/"
  107. },
  108. "ca": {
  109. "translation": "src/locale/angular.ca-ES.xlf",
  110. "baseHref": "/client/ca-ES/"
  111. },
  112. "gl": {
  113. "translation": "src/locale/angular.gl-ES.xlf",
  114. "baseHref": "/client/gl-ES/"
  115. },
  116. "cs": {
  117. "translation": "src/locale/angular.cs-CZ.xlf",
  118. "baseHref": "/client/cs-CZ/"
  119. },
  120. "eo": {
  121. "translation": "src/locale/angular.eo.xlf",
  122. "baseHref": "/client/eo/"
  123. },
  124. "de": {
  125. "translation": "src/locale/angular.de-DE.xlf",
  126. "baseHref": "/client/de-DE/"
  127. },
  128. "it": {
  129. "translation": "src/locale/angular.it-IT.xlf",
  130. "baseHref": "/client/it-IT/"
  131. },
  132. "vi": {
  133. "translation": "src/locale/angular.vi-VN.xlf",
  134. "baseHref": "/client/vi-VN/"
  135. },
  136. "kab": {
  137. "translation": "src/locale/angular.kab.xlf",
  138. "baseHref": "/client/kab/"
  139. },
  140. "nb": {
  141. "translation": "src/locale/angular.nb-NO.xlf",
  142. "baseHref": "/client/nb-NO/"
  143. },
  144. "tok": {
  145. "translation": "src/locale/angular.tok.xlf",
  146. "baseHref": "/client/tok/"
  147. },
  148. "nn": {
  149. "translation": "src/locale/angular.nn.xlf",
  150. "baseHref": "/client/nn/"
  151. },
  152. "is": {
  153. "translation": "src/locale/angular.is.xlf",
  154. "baseHref": "/client/is/"
  155. },
  156. "uk": {
  157. "translation": "src/locale/angular.uk-UA.xlf",
  158. "baseHref": "/client/uk-UA/"
  159. }
  160. }
  161. },
  162. "architect": {
  163. "build": {
  164. "builder": "@angular-devkit/build-angular:application",
  165. "options": {
  166. "i18nMissingTranslation": "ignore",
  167. "localize": true,
  168. "outputPath": {
  169. "base": "dist"
  170. },
  171. "index": "src/index.html",
  172. "tsConfig": "tsconfig.json",
  173. "polyfills": [
  174. "src/polyfills.ts",
  175. "@angular/localize/init"
  176. ],
  177. "baseHref": "/",
  178. "stylePreprocessorOptions": {
  179. "includePaths": [
  180. "src/sass/include",
  181. "."
  182. ]
  183. },
  184. "assets": [
  185. "src/assets/images",
  186. "src/manifest.webmanifest"
  187. ],
  188. "styles": [
  189. "src/sass/application.scss"
  190. ],
  191. "allowedCommonJsDependencies": [
  192. "qrcode",
  193. "chart.js",
  194. "htmlparser2",
  195. "markdown-it-emoji/light",
  196. "linkifyjs/lib/linkify-html",
  197. "linkifyjs/lib/plugins/mention",
  198. "sanitize-html",
  199. "debug",
  200. "@peertube/p2p-media-loader-hlsjs",
  201. "video.js",
  202. "sha.js",
  203. "postcss",
  204. "focus-visible",
  205. "path-browserify",
  206. "deep-merge",
  207. "escape-string-regexp",
  208. "is-plain-object",
  209. "parse-srcset",
  210. "deepmerge",
  211. "core-js/features/reflect",
  212. "@formatjs/intl-locale/polyfill",
  213. "@formatjs/intl-locale/should-polyfill",
  214. "@formatjs/intl-pluralrules/polyfill-force",
  215. "@formatjs/intl-pluralrules/should-polyfill"
  216. ],
  217. "scripts": [],
  218. "extractLicenses": false,
  219. "sourceMap": true,
  220. "optimization": false,
  221. "namedChunks": true,
  222. "browser": "src/main.ts",
  223. "loader": {
  224. ".svg": "text"
  225. }
  226. },
  227. "configurations": {
  228. "production": {
  229. "optimization": true,
  230. "outputHashing": "all",
  231. "sourceMap": false,
  232. "namedChunks": false,
  233. "extractLicenses": true,
  234. "serviceWorker": "src/ngsw-config.json",
  235. "budgets": [
  236. {
  237. "type": "initial",
  238. "maximumWarning": "2mb",
  239. "maximumError": "5mb"
  240. },
  241. {
  242. "type": "anyComponentStyle",
  243. "maximumWarning": "6kb",
  244. "maximumError": "100kb"
  245. }
  246. ],
  247. "fileReplacements": [
  248. {
  249. "replace": "src/environments/environment.ts",
  250. "with": "src/environments/environment.prod.ts"
  251. }
  252. ]
  253. },
  254. "ar-locale": {
  255. "localize": [
  256. "ar"
  257. ],
  258. "budgets": [
  259. {
  260. "type": "anyComponentStyle",
  261. "maximumWarning": "6kb"
  262. }
  263. ],
  264. "fileReplacements": [
  265. {
  266. "replace": "src/environments/environment.ts",
  267. "with": "src/environments/environment.hmr.ts"
  268. }
  269. ]
  270. },
  271. "hmr": {
  272. "localize": false,
  273. "budgets": [
  274. {
  275. "type": "anyComponentStyle",
  276. "maximumWarning": "6kb"
  277. }
  278. ],
  279. "fileReplacements": [
  280. {
  281. "replace": "src/environments/environment.ts",
  282. "with": "src/environments/environment.hmr.ts"
  283. }
  284. ]
  285. }
  286. }
  287. },
  288. "serve": {
  289. "builder": "@angular-devkit/build-angular:dev-server",
  290. "options": {
  291. "proxyConfig": "proxy.config.json",
  292. "buildTarget": "PeerTube:build"
  293. },
  294. "configurations": {
  295. "hmr": {
  296. "buildTarget": "PeerTube:build:hmr"
  297. },
  298. "ar-locale": {
  299. "buildTarget": "PeerTube:build:ar-locale"
  300. }
  301. }
  302. },
  303. "extract-i18n": {
  304. "builder": "@angular-devkit/build-angular:extract-i18n"
  305. },
  306. "lint": {
  307. "builder": "@angular-eslint/builder:lint",
  308. "options": {
  309. "lintFilePatterns": [
  310. "e2e/**/*.ts",
  311. "src/**/*.ts",
  312. "src/**/*.html"
  313. ]
  314. }
  315. }
  316. }
  317. }
  318. },
  319. "schematics": {
  320. "@schematics/angular:component": {
  321. "prefix": "my",
  322. "style": "scss",
  323. "skipTests": true,
  324. "flat": true
  325. },
  326. "@schematics/angular:directive": {
  327. "prefix": "my"
  328. },
  329. "@angular-eslint/schematics:application": {
  330. "setParserOptionsProject": true
  331. },
  332. "@angular-eslint/schematics:library": {
  333. "setParserOptionsProject": true
  334. }
  335. },
  336. "cli": {
  337. "analytics": false
  338. }
  339. }