mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
WebApp: Starting to split the app in multiple projects
This commit is contained in:
parent
2f25b59a69
commit
41d323bbd7
@ -1,2 +0,0 @@
|
|||||||
# Kyoo.WebApp
|
|
||||||
The Angular web app for Kyoo.
|
|
@ -1,32 +1,34 @@
|
|||||||
{
|
{
|
||||||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
|
"cli": {
|
||||||
|
"packageManager": "yarn",
|
||||||
|
"analytics": false
|
||||||
|
},
|
||||||
"newProjectRoot": "projects",
|
"newProjectRoot": "projects",
|
||||||
"projects": {
|
"projects": {
|
||||||
"kyoo": {
|
"host": {
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"schematics": {
|
"schematics": {
|
||||||
"@schematics/angular:component": {
|
"@schematics/angular:component": {
|
||||||
"style": "scss"
|
"style": "scss"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "",
|
"root": "projects/host",
|
||||||
"sourceRoot": "src",
|
"sourceRoot": "projects/host/src",
|
||||||
"prefix": "app",
|
"prefix": "app",
|
||||||
"architect": {
|
"architect": {
|
||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist",
|
"outputPath": "dist/host",
|
||||||
"index": "src/index.html",
|
"index": "projects/host/src/index.html",
|
||||||
"main": "src/main.ts",
|
"main": "projects/host/src/main.ts",
|
||||||
"polyfills": "src/polyfills.ts",
|
"polyfills": "projects/host/src/polyfills.ts",
|
||||||
"tsConfig": "tsconfig.json",
|
"tsConfig": "projects/host/tsconfig.json",
|
||||||
"aot": false,
|
|
||||||
"buildOptimizer": false,
|
|
||||||
"preserveSymlinks": true,
|
"preserveSymlinks": true,
|
||||||
"assets": [
|
"assets": [
|
||||||
"src/assets",
|
"projects/host/src/assets",
|
||||||
{
|
{
|
||||||
"input": "node_modules/libass-wasm/dist/js",
|
"input": "node_modules/libass-wasm/dist/js",
|
||||||
"glob": "subtitles-octopus-worker*",
|
"glob": "subtitles-octopus-worker*",
|
||||||
@ -34,23 +36,20 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.scss"
|
"projects/host/src/styles.scss"
|
||||||
],
|
],
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"./node_modules/jquery/dist/jquery.min.js",
|
"./node_modules/jquery/dist/jquery.min.js",
|
||||||
"./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js",
|
"./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js",
|
||||||
"./node_modules/hls.js/dist/hls.js"
|
"./node_modules/hls.js/dist/hls.js"
|
||||||
],
|
]
|
||||||
"stylePreprocessorOptions": {
|
|
||||||
"includePaths": ["src"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"fileReplacements": [
|
"fileReplacements": [
|
||||||
{
|
{
|
||||||
"replace": "src/environments/environment.ts",
|
"replace": "projects/host/src/environments/environment.ts",
|
||||||
"with": "src/environments/environment.prod.ts"
|
"with": "projects/host/src/environments/environment.prod.ts"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"optimization": true,
|
"optimization": true,
|
||||||
@ -73,24 +72,33 @@
|
|||||||
"maximumError": "10kb"
|
"maximumError": "10kb"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"development": {
|
||||||
|
"buildOptimizer": false,
|
||||||
|
"optimization": false,
|
||||||
|
"vendorChunk": true,
|
||||||
|
"extractLicenses": false,
|
||||||
|
"sourceMap": true,
|
||||||
|
"namedChunks": true
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"defaultConfiguration": "production"
|
||||||
},
|
},
|
||||||
"serve": {
|
"serve": {
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
"options": {
|
"options": {
|
||||||
"browserTarget": "kyoo:build"
|
"browserTarget": "host:build"
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"browserTarget": "kyoo:build:production"
|
"browserTarget": "host:build:production"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extract-i18n": {
|
"extract-i18n": {
|
||||||
"builder": "@angular-devkit/build-angular:extract-i18n",
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||||||
"options": {
|
"options": {
|
||||||
"browserTarget": "kyoo:build"
|
"browserTarget": "host:build"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@ -106,8 +114,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultProject": "kyoo",
|
"defaultProject": "host"
|
||||||
"cli": {
|
|
||||||
"analytics": false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user