mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
- Removed unnecessary imports from header, account-info, loading-overlay, navigation-bar, season-container, serial-details, and vod-details components. - Updated template syntax to use structural directives more efficiently in mpv-player-bar, account-info, navigation-bar, season-container, serial-details, and vod-details components. - Enhanced readability and maintainability of the code by organizing imports and using Angular's async pipe and structural directives appropriately. - Adjusted TypeScript configuration to use "bundler" for module resolution for better compatibility with modern build tools.
167 lines
6.0 KiB
JSON
167 lines
6.0 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"cli": {
|
|
"schematicCollections": ["@angular-eslint/schematics"],
|
|
"analytics": false
|
|
},
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"iptvnator": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:application": {
|
|
"strict": true,
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"outputPath": {
|
|
"base": "dist"
|
|
},
|
|
"index": "src/index.html",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"polyfills": ["zone.js"],
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
"src/manifest.webmanifest"
|
|
],
|
|
"styles": [
|
|
"src/m3-theme.scss",
|
|
"./node_modules/video.js/dist/video-js.css"
|
|
],
|
|
"scripts": [],
|
|
"serviceWorker": "ngsw-config.json",
|
|
"webWorkerTsConfig": "tsconfig.worker.json",
|
|
"browser": "src/main.ts"
|
|
},
|
|
"configurations": {
|
|
"dev": {
|
|
"optimization": false,
|
|
"outputHashing": "none",
|
|
"sourceMap": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.dev.ts"
|
|
}
|
|
]
|
|
},
|
|
"web": {
|
|
"optimization": true,
|
|
"outputHashing": "none",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.web.ts"
|
|
}
|
|
]
|
|
},
|
|
"production": {
|
|
"optimization": false,
|
|
"outputHashing": "none",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular/build:dev-server",
|
|
"options": {
|
|
"buildTarget": "iptvnator:build"
|
|
},
|
|
"configurations": {
|
|
"dev": {
|
|
"buildTarget": "iptvnator:build:dev"
|
|
},
|
|
"web": {
|
|
"buildTarget": "iptvnator:build:web"
|
|
},
|
|
"production": {
|
|
"buildTarget": "iptvnator:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular/build:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "iptvnator:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-builders/jest:run",
|
|
"options": {}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"iptvnator-e2e": {
|
|
"root": "e2e",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["e2e/**/*.ts"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "app",
|
|
"style": "scss",
|
|
"type": "component"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"prefix": "app",
|
|
"type": "directive"
|
|
},
|
|
"@schematics/angular:service": {
|
|
"type": "service"
|
|
},
|
|
"@schematics/angular:guard": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:interceptor": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:module": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:pipe": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:resolver": {
|
|
"typeSeparator": "."
|
|
}
|
|
}
|
|
}
|