194 lines
5.5 KiB
JSON
194 lines
5.5 KiB
JSON
|
{
|
||
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||
|
"version": 1,
|
||
|
"newProjectRoot": "projects",
|
||
|
"projects": {
|
||
|
"Open-redirect": {
|
||
|
"projectType": "application",
|
||
|
"schematics": {
|
||
|
"@schematics/angular:component": {
|
||
|
"style": "scss",
|
||
|
"standalone": false
|
||
|
},
|
||
|
"@schematics/angular:directive": {
|
||
|
"standalone": false
|
||
|
},
|
||
|
"@schematics/angular:pipe": {
|
||
|
"standalone": false
|
||
|
}
|
||
|
},
|
||
|
"root": "",
|
||
|
"sourceRoot": "src",
|
||
|
"prefix": "app",
|
||
|
"architect": {
|
||
|
"build": {
|
||
|
"builder": "@angular-devkit/build-angular:application",
|
||
|
"options": {
|
||
|
"outputPath": "dist/open-redirect",
|
||
|
"index": "src/index.html",
|
||
|
"browser": "src/main.ts",
|
||
|
"polyfills": [
|
||
|
"zone.js"
|
||
|
],
|
||
|
"tsConfig": "tsconfig.app.json",
|
||
|
"inlineStyleLanguage": "scss",
|
||
|
"assets": [
|
||
|
{
|
||
|
"glob": "**/*",
|
||
|
"input": "public"
|
||
|
},
|
||
|
"src/assets",
|
||
|
"src/manifest.webmanifest"
|
||
|
],
|
||
|
"styles": [
|
||
|
"src/styles.scss"
|
||
|
],
|
||
|
"scripts": []
|
||
|
},
|
||
|
"configurations": {
|
||
|
"production": {
|
||
|
"budgets": [
|
||
|
{
|
||
|
"type": "initial",
|
||
|
"maximumWarning": "1mb",
|
||
|
"maximumError": "2mb"
|
||
|
},
|
||
|
{
|
||
|
"type": "anyComponentStyle",
|
||
|
"maximumWarning": "6kb",
|
||
|
"maximumError": "10kb"
|
||
|
}
|
||
|
],
|
||
|
"outputHashing": "all",
|
||
|
"fileReplacements": [
|
||
|
{
|
||
|
"replace": "src/environments/environment.ts",
|
||
|
"with": "src/environments/environment.production.ts"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"staging": {
|
||
|
"budgets": [
|
||
|
{
|
||
|
"type": "initial",
|
||
|
"maximumWarning": "1mb",
|
||
|
"maximumError": "2mb"
|
||
|
},
|
||
|
{
|
||
|
"type": "anyComponentStyle",
|
||
|
"maximumWarning": "6kb",
|
||
|
"maximumError": "10kb"
|
||
|
}
|
||
|
],
|
||
|
"outputHashing": "all",
|
||
|
"fileReplacements": [
|
||
|
{
|
||
|
"replace": "src/environments/environment.ts",
|
||
|
"with": "src/environments/environment.staging.ts"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"development": {
|
||
|
"optimization": false,
|
||
|
"extractLicenses": false,
|
||
|
"sourceMap": true,
|
||
|
"fileReplacements": [
|
||
|
{
|
||
|
"replace": "src/environments/environment.ts",
|
||
|
"with": "src/environments/environment.development.ts"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"experimental": {
|
||
|
"optimization": false,
|
||
|
"extractLicenses": false,
|
||
|
"sourceMap": true,
|
||
|
"fileReplacements": [
|
||
|
{
|
||
|
"replace": "src/environments/environment.ts",
|
||
|
"with": "src/environments/environment.experimental.ts"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"local": {
|
||
|
"optimization": false,
|
||
|
"extractLicenses": false,
|
||
|
"sourceMap": true,
|
||
|
"fileReplacements": [
|
||
|
{
|
||
|
"replace": "src/environments/environment.ts",
|
||
|
"with": "src/environments/environment.local.ts"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"defaultConfiguration": "production"
|
||
|
},
|
||
|
"serve": {
|
||
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||
|
"configurations": {
|
||
|
"production": {
|
||
|
"buildTarget": "Open-redirect:build:production"
|
||
|
},
|
||
|
"development": {
|
||
|
"buildTarget": "Open-redirect:build:development"
|
||
|
},
|
||
|
"experimental": {
|
||
|
"buildTarget": "Open-redirect:build:experimental"
|
||
|
},
|
||
|
"local": {
|
||
|
"buildTarget": "Open-redirect:build:local"
|
||
|
}
|
||
|
},
|
||
|
"defaultConfiguration": "local"
|
||
|
},
|
||
|
"extract-i18n": {
|
||
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||
|
"options": {
|
||
|
"buildTarget": "Open-redirect:build"
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"builder": "@angular-devkit/build-angular:karma",
|
||
|
"options": {
|
||
|
"polyfills": [
|
||
|
"zone.js",
|
||
|
"zone.js/testing"
|
||
|
],
|
||
|
"tsConfig": "tsconfig.spec.json",
|
||
|
"inlineStyleLanguage": "scss",
|
||
|
"assets": [
|
||
|
{
|
||
|
"glob": "**/*",
|
||
|
"input": "public"
|
||
|
},
|
||
|
"src/assets",
|
||
|
"src/manifest.webmanifest"
|
||
|
],
|
||
|
"styles": [
|
||
|
"src/styles.scss"
|
||
|
],
|
||
|
"scripts": [],
|
||
|
"karmaConfig": "karma.conf.js"
|
||
|
}
|
||
|
},
|
||
|
"lint": {
|
||
|
"builder": "@angular-eslint/builder:lint",
|
||
|
"options": {
|
||
|
"lintFilePatterns": [
|
||
|
"src/**/*.ts",
|
||
|
"src/**/*.html"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"cli": {
|
||
|
"schematicCollections": [
|
||
|
"@angular-eslint/schematics"
|
||
|
],
|
||
|
"analytics": false
|
||
|
}
|
||
|
}
|