Proyecto App Linux
This commit is contained in:
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"name": "web",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"prefix": "app",
|
||||
"sourceRoot": "apps/web/src",
|
||||
"cli": {
|
||||
"cache": {
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
"tags": ["scope:app", "type:app"],
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular/build:application",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": {
|
||||
"base": "dist/apps/web",
|
||||
"browser": ""
|
||||
},
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/web/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/web/src/favicon.ico",
|
||||
"apps/web/src/assets",
|
||||
"apps/web/src/manifest.webmanifest"
|
||||
],
|
||||
"styles": [
|
||||
"apps/web/src/styles.scss",
|
||||
"apps/web/src/m3-theme.scss",
|
||||
"./node_modules/video.js/dist/video-js.css"
|
||||
],
|
||||
"allowedCommonJsDependencies": [
|
||||
"qrcode",
|
||||
"iptv-playlist-parser",
|
||||
"mpegts.js",
|
||||
"videojs-contrib-quality-levels",
|
||||
"videojs-quality-selector-hls",
|
||||
"global/window",
|
||||
"global/document",
|
||||
"@videojs/xhr",
|
||||
"videojs-vtt.js",
|
||||
"mux.js/lib/tools/parse-sidx",
|
||||
"mux.js/lib/utils/clock",
|
||||
"keycode",
|
||||
"safe-json-parse/tuple",
|
||||
"@xmldom/xmldom",
|
||||
"url-toolkit"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"baseHref": "./",
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "4.5mb",
|
||||
"maximumError": "5mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "12.5kb",
|
||||
"maximumError": "15kb"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "apps/web/src/environments/environment.ts",
|
||||
"with": "apps/web/src/environments/environment.prod.ts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pwa": {
|
||||
"baseHref": "/",
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "4.5mb",
|
||||
"maximumError": "5mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "12.5kb",
|
||||
"maximumError": "15kb"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"optimization": true,
|
||||
"extractLicenses": true,
|
||||
"sourceMap": false,
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "apps/web/src/environments/environment.ts",
|
||||
"with": "apps/web/src/environments/environment.prod.ts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"development": {
|
||||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true
|
||||
},
|
||||
"electron-e2e": {
|
||||
"baseHref": "./",
|
||||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true
|
||||
},
|
||||
"kiratv": {
|
||||
"baseHref": "./",
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "4.5mb",
|
||||
"maximumError": "5mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "12.5kb",
|
||||
"maximumError": "15kb"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "apps/web/src/environments/environment.ts",
|
||||
"with": "apps/web/src/environments/environment.kiratv.ts"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "production"
|
||||
},
|
||||
"build-e2e": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "pnpm nx run web:build:electron-e2e"
|
||||
}
|
||||
},
|
||||
"serve": {
|
||||
"continuous": true,
|
||||
"executor": "@angular/build:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "web:build:production"
|
||||
},
|
||||
"pwa": {
|
||||
"buildTarget": "web:build:pwa"
|
||||
},
|
||||
"development": {
|
||||
"buildTarget": "web:build:development"
|
||||
},
|
||||
"kiratv": {
|
||||
"buildTarget": "web:build:kiratv"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development",
|
||||
"options": {
|
||||
"proxyConfig": "apps/web/proxy.conf.json"
|
||||
}
|
||||
},
|
||||
"extract-i18n": {
|
||||
"executor": "@angular/build:extract-i18n",
|
||||
"options": {
|
||||
"buildTarget": "web:build"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint"
|
||||
},
|
||||
"test": {
|
||||
"executor": "nx:run-commands",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"command": [
|
||||
"node",
|
||||
"./node_modules/jest/bin/jest.js",
|
||||
"--config",
|
||||
"apps/web/jest.config.ts"
|
||||
],
|
||||
"env": {
|
||||
"NODE_OPTIONS": "--experimental-vm-modules"
|
||||
},
|
||||
"forwardAllArgs": true
|
||||
}
|
||||
},
|
||||
"serve-static": {
|
||||
"continuous": true,
|
||||
"executor": "@nx/web:file-server",
|
||||
"options": {
|
||||
"buildTarget": "web:build",
|
||||
"port": 4200,
|
||||
"staticFilePath": "dist/apps/web/browser",
|
||||
"spa": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user