2018-05-15 10:58:08 +02:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"PeerTube": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
2018-05-15 17:08:31 +02:00
|
|
|
"deployUrl": "client/",
|
2018-05-15 10:58:08 +02:00
|
|
|
"outputPath": "dist",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
2019-08-01 11:38:26 +02:00
|
|
|
"tsConfig": "tsconfig.app.json",
|
2018-05-15 10:58:08 +02:00
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"stylePreprocessorOptions": {
|
|
|
|
"includePaths": [
|
|
|
|
"src/sass/include"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"assets": [
|
|
|
|
"src/assets/images",
|
2018-09-19 18:27:10 +02:00
|
|
|
"src/manifest.webmanifest"
|
2018-05-15 10:58:08 +02:00
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"src/sass/application.scss"
|
|
|
|
],
|
|
|
|
"scripts": []
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
2018-05-16 10:44:38 +02:00
|
|
|
"serviceWorker": true,
|
|
|
|
"ngswConfigPath": "src/ngsw-config.json",
|
2019-08-01 10:15:28 +02:00
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "anyComponentStyle",
|
|
|
|
"maximumWarning": "6kb",
|
|
|
|
"maximumError": "10kb"
|
|
|
|
}
|
|
|
|
],
|
2018-05-15 10:58:08 +02:00
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
]
|
2018-05-16 19:59:21 +02:00
|
|
|
},
|
|
|
|
"hmr": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.hmr.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"e2e": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.e2e.ts"
|
|
|
|
}
|
|
|
|
]
|
2019-11-07 09:45:14 +01:00
|
|
|
},
|
|
|
|
"fr_FR": {
|
|
|
|
"aot": true,
|
|
|
|
"outputPath": "dist/PeerTube-fr_FR",
|
|
|
|
"i18nFile": "src/i18n/messages.fr_FR.xlf",
|
|
|
|
"i18nFormat": "xlf",
|
|
|
|
"i18nLocale": "fr_FR"
|
2018-05-15 10:58:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
2019-07-25 10:44:21 +02:00
|
|
|
"baseHref": "/",
|
|
|
|
"deployUrl": "client/",
|
2019-08-22 15:12:44 +02:00
|
|
|
"browserTarget": "PeerTube:build",
|
|
|
|
"proxyConfig": "proxy.config.json"
|
2018-05-15 10:58:08 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "PeerTube:build:production"
|
2018-05-16 19:59:21 +02:00
|
|
|
},
|
|
|
|
"hmr": {
|
|
|
|
"browserTarget": "PeerTube:build:hmr"
|
|
|
|
},
|
|
|
|
"e2e": {
|
2019-08-22 15:12:44 +02:00
|
|
|
"browserTarget": "PeerTube:build:e2e",
|
|
|
|
"proxyConfig": "e2e/proxy.config.json"
|
2019-11-07 09:45:14 +01:00
|
|
|
},
|
|
|
|
"fr_FR": {
|
|
|
|
"browserTarget": "PeerTube:build:fr_FR"
|
2018-05-15 10:58:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "PeerTube:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"karmaConfig": "./karma.conf.js",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"scripts": [],
|
|
|
|
"styles": [
|
|
|
|
"src/sass/application.scss"
|
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
"src/assets/images",
|
2018-09-19 18:27:10 +02:00
|
|
|
"src/manifest.webmanifest"
|
2018-05-15 10:58:08 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
2019-08-01 11:38:26 +02:00
|
|
|
"tsconfig.app.json"
|
2018-05-15 10:58:08 +02:00
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
2019-11-07 09:45:14 +01:00
|
|
|
},
|
|
|
|
"xliffmerge": {
|
|
|
|
"builder": "@ngx-i18nsupport/tooling:xliffmerge",
|
|
|
|
"options": {
|
|
|
|
"xliffmergeOptions": {
|
|
|
|
"i18nFormat": "xlf",
|
|
|
|
"srcDir": "src/locale",
|
|
|
|
"genDir": "src/locale",
|
|
|
|
"useSourceAsTarget": false,
|
|
|
|
"i18nBaseFile": "angular",
|
|
|
|
"defaultLanguage": "en-US",
|
|
|
|
"languages": [
|
2019-11-07 10:56:04 +01:00
|
|
|
"ar-001",
|
|
|
|
"ca-ES",
|
|
|
|
"cs-CZ",
|
|
|
|
"da-DK",
|
|
|
|
"de-DE",
|
|
|
|
"el-GR",
|
|
|
|
"en-GB",
|
2019-11-07 09:45:14 +01:00
|
|
|
"en-US",
|
2019-11-07 10:56:04 +01:00
|
|
|
"eo",
|
|
|
|
"es-ES",
|
|
|
|
"eu-ES",
|
|
|
|
"fa-IR",
|
|
|
|
"fi-FI",
|
|
|
|
"fr-FR",
|
|
|
|
"gd",
|
|
|
|
"gl-ES",
|
|
|
|
"hu-HU",
|
|
|
|
"it-IT",
|
|
|
|
"ja-JP",
|
|
|
|
"jbo",
|
|
|
|
"ko-KR",
|
|
|
|
"lt-LT",
|
|
|
|
"nb-NO",
|
|
|
|
"nl-NL",
|
|
|
|
"oc",
|
|
|
|
"pl-PL",
|
|
|
|
"pt-BR",
|
|
|
|
"pt-PT",
|
|
|
|
"ru-RU",
|
|
|
|
"sk-SK",
|
|
|
|
"sl-SI",
|
|
|
|
"sv-SE",
|
|
|
|
"ta",
|
|
|
|
"th-TH",
|
|
|
|
"tr-TR",
|
|
|
|
"uk-UA",
|
|
|
|
"vi-VN",
|
|
|
|
"zh-Hans-CN",
|
|
|
|
"zh-Hant-TW"
|
2019-11-07 09:45:14 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2018-05-15 10:58:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"PeerTube-e2e": {
|
2018-05-16 19:59:21 +02:00
|
|
|
"root": "e2e/",
|
2018-05-15 10:58:08 +02:00
|
|
|
"sourceRoot": "",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
2018-05-16 19:59:21 +02:00
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "PeerTube:serve:e2e"
|
2018-10-01 13:40:21 +02:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"local": {
|
|
|
|
"protractorConfig": "e2e/local-protractor.conf.js"
|
|
|
|
}
|
2018-05-15 10:58:08 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"e2e/tsconfig.e2e.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"defaultProject": "PeerTube",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"prefix": "app",
|
|
|
|
"styleext": "scss"
|
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"prefix": "app"
|
|
|
|
}
|
|
|
|
}
|
2018-05-15 17:08:31 +02:00
|
|
|
}
|